@bigbinary/neeto-editor 1.43.12 → 1.43.13
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/Editor.js +8 -3
- package/dist/Editor.js.map +1 -1
- package/dist/FormikEditor.js +1 -1
- package/dist/Menu.js +1 -1
- package/dist/{chunk-DfQGfgvj.js → chunk-DBjmQU2a.js} +4 -2
- package/dist/{chunk-DfQGfgvj.js.map → chunk-DBjmQU2a.js.map} +1 -1
- package/dist/cjs/Editor.cjs.js +8 -3
- package/dist/cjs/Editor.cjs.js.map +1 -1
- package/dist/cjs/FormikEditor.cjs.js +1 -1
- package/dist/cjs/Menu.cjs.js +1 -1
- package/dist/cjs/{chunk-BvZ-xgkj.cjs.js → chunk-CAUtN6xZ.cjs.js} +4 -2
- package/dist/cjs/{chunk-BvZ-xgkj.cjs.js.map → chunk-CAUtN6xZ.cjs.js.map} +1 -1
- package/dist/cjs/index.cjs.js +1 -1
- package/dist/editor-stats.html +1 -1
- package/dist/index.js +1 -1
- package/package.json +1 -1
package/dist/FormikEditor.js
CHANGED
|
@@ -7,7 +7,7 @@ import Editor from './Editor.js';
|
|
|
7
7
|
import { jsx } from 'react/jsx-runtime';
|
|
8
8
|
import '@babel/runtime/helpers/toConsumableArray';
|
|
9
9
|
import '@babel/runtime/helpers/slicedToArray';
|
|
10
|
-
import './chunk-
|
|
10
|
+
import './chunk-DBjmQU2a.js';
|
|
11
11
|
import 'ramda';
|
|
12
12
|
import './chunk-DmrvuTKK.js';
|
|
13
13
|
import 'i18next';
|
package/dist/Menu.js
CHANGED
|
@@ -3,7 +3,7 @@ import '@babel/runtime/helpers/toConsumableArray';
|
|
|
3
3
|
import '@babel/runtime/helpers/slicedToArray';
|
|
4
4
|
import 'react';
|
|
5
5
|
import 'ramda';
|
|
6
|
-
export { M as default } from './chunk-
|
|
6
|
+
export { M as default } from './chunk-DBjmQU2a.js';
|
|
7
7
|
import './chunk-1zt1pz4C.js';
|
|
8
8
|
import 'react/jsx-runtime';
|
|
9
9
|
import './chunk-DmrvuTKK.js';
|
|
@@ -18274,12 +18274,14 @@ var Fixed = function Fixed(_ref) {
|
|
|
18274
18274
|
var isMediaUploaderActive = options.includes(EDITOR_OPTIONS.IMAGE_UPLOAD) || options.includes(EDITOR_OPTIONS.VIDEO_UPLOAD);
|
|
18275
18275
|
var handleVariableClick = function handleVariableClick(item) {
|
|
18276
18276
|
var category = item.category,
|
|
18277
|
+
categoryLabel = item.categoryLabel,
|
|
18277
18278
|
key = item.key,
|
|
18278
18279
|
label = item.label;
|
|
18279
18280
|
var variableName = category ? "".concat(category, ".").concat(key) : key;
|
|
18281
|
+
var variableLabel = category ? "".concat(categoryLabel || category, ":").concat(label) : label;
|
|
18280
18282
|
editor.chain().focus().setVariable({
|
|
18281
18283
|
id: variableName,
|
|
18282
|
-
label:
|
|
18284
|
+
label: variableLabel
|
|
18283
18285
|
}).run();
|
|
18284
18286
|
};
|
|
18285
18287
|
return /*#__PURE__*/jsxs("div", {
|
|
@@ -19403,4 +19405,4 @@ var Menu = function Menu(props) {
|
|
|
19403
19405
|
};
|
|
19404
19406
|
|
|
19405
19407
|
export { getAttributes as A, highlightFocussedNode as B, resetFocussedNode as C, DecorationSet as D, Extension as E, findParentNodeClosestToPos as F, BubbleMenu as G, getLinkPopoverPosition as H, InputRule as I, getMarkType as J, getMarkRange as K, useEditor as L, Menu as M, Node as N, useEditorState$1 as O, PasteRule as P, EditorContent as Q, ReactNodeViewRenderer as R, MediaUploader as S, EmbedOption as T, EditorView as U, Mark as a, markInputRule as b, markPasteRule as c, Decoration as d, callOrReturn as e, getExtensionField as f, getMarkAttributes as g, findChildren as h, isNodeSelection as i, NodeViewWrapper as j, keydownHandler as k, NodeViewContent as l, mergeAttributes as m, nodeInputRule as n, escapeForRegEx as o, ReactRenderer as p, EmojiPickerMenu as q, emojiPickerApi as r, liftTarget$1 as s, textblockTypeInputRule as t, combineTransactionSteps as u, validateUrl as v, wrappingInputRule as w, getChangedRanges as x, findChildrenInRange as y, getMarksBetween as z };
|
|
19406
|
-
//# sourceMappingURL=chunk-
|
|
19408
|
+
//# sourceMappingURL=chunk-DBjmQU2a.js.map
|