@bigbinary/neeto-editor 1.47.70 → 1.47.71
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 +10 -12
- package/dist/Editor.js.map +1 -1
- package/dist/FormikEditor.js +1 -1
- package/dist/Menu.js +1 -1
- package/dist/{chunk-BrsXgI-R.js → chunk-BNBYmEN2.js} +5 -10
- package/dist/{chunk-BrsXgI-R.js.map → chunk-BNBYmEN2.js.map} +1 -1
- package/dist/cjs/Editor.cjs.js +10 -12
- 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-BDujUG7g.cjs.js → chunk-BMbsEMhq.cjs.js} +5 -10
- package/dist/cjs/{chunk-BDujUG7g.cjs.js.map → chunk-BMbsEMhq.cjs.js.map} +1 -1
- package/dist/cjs/index.cjs.js +2 -2
- package/dist/editor-stats.html +1 -1
- package/dist/index.js +2 -2
- package/package.json +1 -1
- package/src/translations/he.json +107 -1
package/dist/Editor.js
CHANGED
|
@@ -4,7 +4,7 @@ import _slicedToArray from '@babel/runtime/helpers/slicedToArray';
|
|
|
4
4
|
import _objectWithoutProperties from '@babel/runtime/helpers/objectWithoutProperties';
|
|
5
5
|
import * as React from 'react';
|
|
6
6
|
import React__default, { memo, useState, useEffect, useRef, useCallback, createElement, forwardRef, useImperativeHandle } from 'react';
|
|
7
|
-
import { E as Extension, a as Mark, m as mergeAttributes, b as markInputRule, c as markPasteRule, D as DecorationSet, d as Decoration, g as getMarkAttributes, N as Node, w as wrappingInputRule, t as textblockTypeInputRule, k as keydownHandler, e as callOrReturn, f as getExtensionField, i as isNodeSelection, n as nodeInputRule, h as getNodeType, j as getNodeAtPosition, l as isNodeActive, o as isAtStartOfNode, p as isAtEndOfNode, C as CALLOUT_TYPES, q as NodeViewWrapper, r as NodeViewContent, R as ReactNodeViewRenderer, s as findChildren, u as escapeForRegEx, v as ReactRenderer, x as EmojiPickerMenu, y as emojiPickerApi, z as combineTransactionSteps, A as getChangedRanges, B as findChildrenInRange, F as getMarksBetween, G as getAttributes, I as InputRule, H as highlightFocussedNode, J as resetFocussedNode, K as findParentNodeClosestToPos, P as PasteRule, L as BubbleMenu, O as getLinkPopoverPosition, Q as getMarkType, S as getMarkRange, T as useEditor, U as useEditorState, M as Menu$4, V as MenuDynamicVariables, W as EditorContent, X as MediaUploader, Y as LinkAddPopOver, Z as EditorView } from './chunk-
|
|
7
|
+
import { E as Extension, a as Mark, m as mergeAttributes, b as markInputRule, c as markPasteRule, D as DecorationSet, d as Decoration, g as getMarkAttributes, N as Node, w as wrappingInputRule, t as textblockTypeInputRule, k as keydownHandler, e as callOrReturn, f as getExtensionField, i as isNodeSelection, n as nodeInputRule, h as getNodeType, j as getNodeAtPosition, l as isNodeActive, o as isAtStartOfNode, p as isAtEndOfNode, C as CALLOUT_TYPES, q as NodeViewWrapper, r as NodeViewContent, R as ReactNodeViewRenderer, s as findChildren, u as escapeForRegEx, v as ReactRenderer, x as EmojiPickerMenu, y as emojiPickerApi, z as combineTransactionSteps, A as getChangedRanges, B as findChildrenInRange, F as getMarksBetween, G as getAttributes, I as InputRule, H as highlightFocussedNode, J as resetFocussedNode, K as findParentNodeClosestToPos, P as PasteRule, L as BubbleMenu, O as getLinkPopoverPosition, Q as getMarkType, S as getMarkRange, T as useEditor, U as useEditorState, M as Menu$4, V as MenuDynamicVariables, W as EditorContent, X as MediaUploader, Y as LinkAddPopOver, Z as EditorView } from './chunk-BNBYmEN2.js';
|
|
8
8
|
import classnames from 'classnames';
|
|
9
9
|
import { D as DIRECT_UPLOAD_ENDPOINT, E as EDITOR_OPTIONS, C as COMBINED_REGEX, a as EDITOR_SIZES } from './chunk-DDwycKmK.js';
|
|
10
10
|
import { isNotPresent, findBy, isNotEmpty, isPresent, noop as noop$1, slugify } from '@bigbinary/neeto-cist';
|
|
@@ -22264,20 +22264,18 @@ var Editor = function Editor(_ref, ref) {
|
|
|
22264
22264
|
className: menuClassName,
|
|
22265
22265
|
isIndependant: isMenuIndependent,
|
|
22266
22266
|
setIsNeetoKbArticleActive: setNeetoKbArticleState
|
|
22267
|
-
}), children, /*#__PURE__*/
|
|
22268
|
-
|
|
22269
|
-
|
|
22270
|
-
},
|
|
22271
|
-
children: [menuType === "none" && /*#__PURE__*/jsx(MenuDynamicVariables, {
|
|
22267
|
+
}), children, menuType === "none" && /*#__PURE__*/jsx("div", {
|
|
22268
|
+
className: "neeto-editor-fixed-menu-standalone-variables-wrapper",
|
|
22269
|
+
children: /*#__PURE__*/jsx(MenuDynamicVariables, {
|
|
22272
22270
|
editor: editor,
|
|
22273
22271
|
variables: variables,
|
|
22274
22272
|
standalone: true
|
|
22275
|
-
})
|
|
22276
|
-
|
|
22277
|
-
|
|
22278
|
-
|
|
22279
|
-
|
|
22280
|
-
}), isMediaUploaderActive && /*#__PURE__*/jsx(MediaUploader, {
|
|
22273
|
+
})
|
|
22274
|
+
}), /*#__PURE__*/jsx(EditorContent, _objectSpread({
|
|
22275
|
+
className: contentWrapperClassName
|
|
22276
|
+
}, _objectSpread({
|
|
22277
|
+
editor: editor
|
|
22278
|
+
}, otherProps))), isMediaUploaderActive && /*#__PURE__*/jsx(MediaUploader, {
|
|
22281
22279
|
editor: editor,
|
|
22282
22280
|
mediaUploader: mediaUploader,
|
|
22283
22281
|
onClose: function onClose() {
|