@bigbinary/neeto-editor 1.43.4 → 1.43.6

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.
@@ -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-1ab733f1.js';
10
+ import './chunk-6b9bf4bd.js';
11
11
  import 'ramda';
12
12
  import './chunk-15c449f1.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-1ab733f1.js';
6
+ export { M as default } from './chunk-6b9bf4bd.js';
7
7
  import './chunk-bdd72077.js';
8
8
  import 'react/jsx-runtime';
9
9
  import './chunk-15c449f1.js';
@@ -18281,10 +18281,12 @@ var Fixed = function Fixed(_ref) {
18281
18281
  var isMediaUploaderActive = options.includes(EDITOR_OPTIONS.IMAGE_UPLOAD) || options.includes(EDITOR_OPTIONS.VIDEO_UPLOAD);
18282
18282
  var handleVariableClick = function handleVariableClick(item) {
18283
18283
  var category = item.category,
18284
- key = item.key;
18284
+ key = item.key,
18285
+ label = item.label;
18285
18286
  var variableName = category ? "".concat(category, ".").concat(key) : key;
18286
18287
  editor.chain().focus().setVariable({
18287
- label: variableName
18288
+ id: variableName,
18289
+ label: label
18288
18290
  }).run();
18289
18291
  };
18290
18292
  return /*#__PURE__*/jsxs("div", {
@@ -19408,4 +19410,4 @@ var Menu = function Menu(props) {
19408
19410
  };
19409
19411
 
19410
19412
  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 };
19411
- //# sourceMappingURL=chunk-1ab733f1.js.map
19413
+ //# sourceMappingURL=chunk-6b9bf4bd.js.map