@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.
@@ -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-DfQGfgvj.js';
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-DfQGfgvj.js';
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: 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-DfQGfgvj.js.map
19408
+ //# sourceMappingURL=chunk-DBjmQU2a.js.map