@bigbinary/neeto-editor 1.43.17 → 1.43.19

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -9,7 +9,7 @@ import { isNil } from 'ramda';
9
9
  import { createRoot } from 'react-dom/client';
10
10
  import { E as EDITOR_SIZES } from './chunk-DpVCSvpe.js';
11
11
  import { n } from './chunk-DmrvuTKK.js';
12
- import { s as substituteVariables, a as applySyntaxHighlighting, b as applyLineHighlighting, E as EDITOR_CONTENT_CLASS_NAME, S as SANITIZE_OPTIONS, c as EDITOR_CONTENT_DEFAULT_CONFIGURATION } from './chunk-iIt16HM1.js';
12
+ import { s as substituteVariables, a as applySyntaxHighlighting, b as applyLineHighlighting, E as EDITOR_CONTENT_CLASS_NAME, S as SANITIZE_OPTIONS, c as EDITOR_CONTENT_DEFAULT_CONFIGURATION } from './chunk-B8e5DmMA.js';
13
13
  import { useOnClickOutside } from '@bigbinary/neeto-commons-frontend/react-utils';
14
14
  import Close from '@bigbinary/neeto-icons/Close';
15
15
  import Button from '@bigbinary/neetoui/Button';
@@ -100,7 +100,7 @@ import '@bigbinary/neeto-icons/MergeSplit';
100
100
  import '@bigbinary/neeto-icons/ToggleHeaderRow';
101
101
  import '@bigbinary/neetoui/formik/Form';
102
102
  import '@bigbinary/neetoui/formik/Input';
103
- import './chunk-CBTV1FAG.js';
103
+ import './chunk-Cgqbplpd.js';
104
104
  import '@bigbinary/neeto-icons/MenuVertical';
105
105
  import '@bigbinary/neetoui/Alert';
106
106
 
@@ -12605,8 +12605,7 @@ var applyLineHighlighting = function applyLineHighlighting(editorContent) {
12605
12605
  codeTags.forEach(function (codeTag) {
12606
12606
  var highlightedLines = codeTag.closest("pre").getAttribute("data-highlighted-lines");
12607
12607
  if (highlightedLines) {
12608
- var _highlightedLines$spl;
12609
- var linesToHighlight = (_highlightedLines$spl = highlightedLines.split(",")) === null || _highlightedLines$spl === void 0 ? void 0 : _highlightedLines$spl.filter(Boolean).map(Number);
12608
+ var linesToHighlight = highlightedLines.split(",").map(Number).filter(Boolean);
12610
12609
  var highlightLinesOptions = linesToHighlight.map(function (line) {
12611
12610
  return {
12612
12611
  start: line,
@@ -12638,4 +12637,4 @@ var substituteVariables = function substituteVariables(highlightedContent, varia
12638
12637
  };
12639
12638
 
12640
12639
  export { EDITOR_CONTENT_CLASS_NAME as E, SANITIZE_OPTIONS as S, applySyntaxHighlighting as a, applyLineHighlighting as b, EDITOR_CONTENT_DEFAULT_CONFIGURATION as c, substituteVariables as s };
12641
- //# sourceMappingURL=chunk-iIt16HM1.js.map
12640
+ //# sourceMappingURL=chunk-B8e5DmMA.js.map