@bigbinary/neeto-editor-frontend 2.0.7 → 2.0.8
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.
- package/dist/.ready +1 -1
- package/dist/Editor.js +5 -6
- package/dist/Editor.js.map +1 -1
- package/dist/FormikEditor.js +1 -1
- package/dist/{chunk-BVW5D3k5.js → chunk-BAjN56q8.js} +14 -2
- package/dist/chunk-BAjN56q8.js.map +1 -0
- package/dist/cjs/Editor.cjs.js +5 -6
- package/dist/cjs/Editor.cjs.js.map +1 -1
- package/dist/cjs/FormikEditor.cjs.js +1 -1
- package/dist/cjs/{chunk-9oA3Y9DG.cjs.js → chunk-BAEoAF1o.cjs.js} +14 -1
- package/dist/cjs/chunk-BAEoAF1o.cjs.js.map +1 -0
- package/dist/cjs/index.cjs.js +1 -1
- package/dist/cjs/v2/Editor.cjs.js +5 -6
- package/dist/cjs/v2/Editor.cjs.js.map +1 -1
- package/dist/cjs/v2/FormikEditor.cjs.js +1 -1
- package/dist/cjs/v2/index.cjs.js +1 -1
- package/dist/editor-stats.html +19 -1
- package/dist/index.js +1 -1
- package/dist/v2/Editor.js +5 -6
- package/dist/v2/Editor.js.map +1 -1
- package/dist/v2/FormikEditor.js +1 -1
- package/dist/v2/index.js +1 -1
- package/package.json +4 -3
- package/dist/chunk-BVW5D3k5.js.map +0 -1
- package/dist/cjs/chunk-9oA3Y9DG.cjs.js.map +0 -1
package/dist/index.js
CHANGED
|
@@ -63,7 +63,7 @@ import '@bigbinary/neetoui/Alert';
|
|
|
63
63
|
import './chunk-Di3ipdfT.js';
|
|
64
64
|
import 'react-dom';
|
|
65
65
|
import '@bigbinary/neetoui/Label';
|
|
66
|
-
import './chunk-
|
|
66
|
+
import './chunk-BAjN56q8.js';
|
|
67
67
|
import '@tanstack/react-query';
|
|
68
68
|
import 'yjs';
|
|
69
69
|
import '@bigbinary/neeto-icons/misc/Megaphone';
|
package/dist/v2/Editor.js
CHANGED
|
@@ -9,7 +9,7 @@ import classnames from 'classnames';
|
|
|
9
9
|
import { isNotPresent, findBy, isNotEmpty, isPresent, noop, slugify } from '@bigbinary/neeto-cist';
|
|
10
10
|
import { useOnClickOutside, withT, useFuncDebounce } from '@bigbinary/neeto-commons-frontend/v2/react-utils';
|
|
11
11
|
import { createPortal } from 'react-dom';
|
|
12
|
-
import { B as BulletList$1, s as src_default, a as src_default$1, R as Resizable, b as src_default$2, L as Link$1, c as scrollHandler, d as src_default$3, O as OrderedList$1, e as src_default$4, f as fuzzySearch, T as Table$2, g as TaskList, h as TaskItem, i as getVideoDimension, C as CharacterCount,
|
|
12
|
+
import { B as BulletList$1, s as src_default, a as src_default$1, R as Resizable, b as src_default$2, L as Link$1, c as scrollHandler, d as src_default$3, O as OrderedList$1, e as src_default$4, f as fuzzySearch, T as Table$2, g as TaskList, h as TaskItem, i as getVariableDisplay, j as getVideoDimension, C as CharacterCount, k as src_default$5, l as src_default$6, m as safeSplitBlock, n as safeListKeymap, o as TextStyle, p as src_default$7, F as Focus, q as src_default$8, r as TableRow, t as TableHeader, u as TableCell, v as Color, w as ListItem, x as src_default$9, y as src_default$a, z as useFetchKbArticles, K as useEditorWarnings, N as useDeletedArticles } from '../chunk-BAjN56q8.js';
|
|
13
13
|
import { D as DIRECT_UPLOAD_ENDPOINT, E as EDITOR_OPTIONS, C as COMBINED_REGEX, a as EDITOR_SIZES } from '../chunk-UwzgbfZD.js';
|
|
14
14
|
import '../chunk-CNIDH-FD.js';
|
|
15
15
|
import { is, intersection, difference, union, isEmpty, isNil, mergeRight, assoc, equals } from 'ramda';
|
|
@@ -3626,11 +3626,10 @@ var VariableComponent = function VariableComponent(_ref) {
|
|
|
3626
3626
|
var _variableName$substr;
|
|
3627
3627
|
var node = _ref.node,
|
|
3628
3628
|
extension = _ref.extension;
|
|
3629
|
-
var
|
|
3630
|
-
|
|
3631
|
-
|
|
3632
|
-
|
|
3633
|
-
var shouldTruncate = variableName.length > MAX_VARIABLE_NAME_DISPLAY_LENGTH;
|
|
3629
|
+
var id = node.attrs.id;
|
|
3630
|
+
var _getVariableDisplay = getVariableDisplay(node.attrs, MAX_VARIABLE_NAME_DISPLAY_LENGTH),
|
|
3631
|
+
variableName = _getVariableDisplay.variableName,
|
|
3632
|
+
shouldTruncate = _getVariableDisplay.shouldTruncate;
|
|
3634
3633
|
return /*#__PURE__*/jsxs(NodeViewWrapper, {
|
|
3635
3634
|
as: "span",
|
|
3636
3635
|
className: "neeto-editor-variable",
|