@bigbinary/neeto-editor 1.47.19 → 1.47.21
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/Attachments.js +3 -3
- package/dist/Editor.js +6 -6
- package/dist/EditorContent.js +2 -2
- package/dist/FormikEditor.js +6 -6
- package/dist/Menu.js +5 -5
- package/dist/{chunk-Ct2wC6BU.js → chunk-BEeeOUkk.js} +4 -4
- package/dist/{chunk-Ct2wC6BU.js.map → chunk-BEeeOUkk.js.map} +1 -1
- package/dist/{chunk-D8Bf8wHT.js → chunk-CY_7yUut.js} +2 -2
- package/dist/{chunk-D8Bf8wHT.js.map → chunk-CY_7yUut.js.map} +1 -1
- package/dist/{chunk-l2RmPo8i.js → chunk-DQ79U6Nk.js} +4 -4
- package/dist/{chunk-l2RmPo8i.js.map → chunk-DQ79U6Nk.js.map} +1 -1
- package/dist/{chunk-CdgC8hfY.js → chunk-DYM9eRpO.js} +2 -2
- package/dist/{chunk-CdgC8hfY.js.map → chunk-DYM9eRpO.js.map} +1 -1
- package/dist/{chunk-D3vCHEXP.js → chunk-DadYJ-PV.js} +11 -9
- package/dist/{chunk-D3vCHEXP.js.map → chunk-DadYJ-PV.js.map} +1 -1
- package/dist/{chunk-s3WgIRIz.js → chunk-DtYaAyZo.js} +2 -2
- package/dist/chunk-DtYaAyZo.js.map +1 -0
- package/dist/{chunk-DfgS5Vcu.js → chunk-dMTCelow.js} +3 -3
- package/dist/{chunk-DfgS5Vcu.js.map → chunk-dMTCelow.js.map} +1 -1
- package/dist/cjs/Attachments.cjs.js +3 -3
- package/dist/cjs/Editor.cjs.js +6 -6
- package/dist/cjs/EditorContent.cjs.js +2 -2
- package/dist/cjs/FormikEditor.cjs.js +6 -6
- package/dist/cjs/Menu.cjs.js +5 -5
- package/dist/cjs/{chunk-Cm4yK9ca.cjs.js → chunk-B79ezz66.cjs.js} +2 -2
- package/dist/cjs/{chunk-Cm4yK9ca.cjs.js.map → chunk-B79ezz66.cjs.js.map} +1 -1
- package/dist/cjs/{chunk-eVqAxU5i.cjs.js → chunk-BfTHT2yg.cjs.js} +11 -9
- package/dist/cjs/{chunk-eVqAxU5i.cjs.js.map → chunk-BfTHT2yg.cjs.js.map} +1 -1
- package/dist/cjs/{chunk-D3mian4q.cjs.js → chunk-BhbvTo3M.cjs.js} +4 -4
- package/dist/cjs/{chunk-D3mian4q.cjs.js.map → chunk-BhbvTo3M.cjs.js.map} +1 -1
- package/dist/cjs/{chunk-CRaj6gwd.cjs.js → chunk-CHxuCxqq.cjs.js} +3 -3
- package/dist/cjs/{chunk-CRaj6gwd.cjs.js.map → chunk-CHxuCxqq.cjs.js.map} +1 -1
- package/dist/cjs/{chunk-CKsB-ac9.cjs.js → chunk-Crhksi6v.cjs.js} +2 -2
- package/dist/cjs/chunk-Crhksi6v.cjs.js.map +1 -0
- package/dist/cjs/{chunk-BhtGyqIq.cjs.js → chunk-DnB9pylb.cjs.js} +2 -2
- package/dist/cjs/{chunk-BhtGyqIq.cjs.js.map → chunk-DnB9pylb.cjs.js.map} +1 -1
- package/dist/cjs/{chunk-DZgD1adL.cjs.js → chunk-YXkG7ItH.cjs.js} +4 -4
- package/dist/cjs/{chunk-DZgD1adL.cjs.js.map → chunk-YXkG7ItH.cjs.js.map} +1 -1
- package/dist/cjs/constants.cjs.js +2 -2
- package/dist/cjs/index.cjs.js +6 -6
- package/dist/cjs/utils.cjs.js +3 -3
- package/dist/constants.js +2 -2
- package/dist/editor-stats.html +1 -1
- package/dist/index.js +6 -6
- package/dist/utils.js +3 -3
- package/package.json +1 -1
- package/dist/chunk-s3WgIRIz.js.map +0 -1
- package/dist/cjs/chunk-CKsB-ac9.cjs.js.map +0 -1
|
@@ -11,11 +11,11 @@ import TextH3 from '@bigbinary/neeto-icons/TextH3';
|
|
|
11
11
|
import TextH4 from '@bigbinary/neeto-icons/TextH4';
|
|
12
12
|
import TextH5 from '@bigbinary/neeto-icons/TextH5';
|
|
13
13
|
import TextP from '@bigbinary/neeto-icons/TextP';
|
|
14
|
-
import { T as TextSelection, N as NodeSelection, S as Selection, b as Slice, d as dropPoint, D as DOMSerializer, F as Fragment, c as DOMParser, A as AllSelection, M as Mark$1, P as Plugin, R as ReplaceError, e as MarkType, l as liftTarget$2, r as replaceStep$1, f as ReplaceStep$2, g as canJoin$2, j as joinPoint$1, h as canSplit$2, k as ReplaceAroundStep$2, m as findWrapping$2, n as NodeRange, o as PluginKey, p as Schema, E as EditorState, v as validateAndFormatUrl } from './chunk-
|
|
14
|
+
import { T as TextSelection, N as NodeSelection, S as Selection, b as Slice, d as dropPoint, D as DOMSerializer, F as Fragment, c as DOMParser, A as AllSelection, M as Mark$1, P as Plugin, R as ReplaceError, e as MarkType, l as liftTarget$2, r as replaceStep$1, f as ReplaceStep$2, g as canJoin$2, j as joinPoint$1, h as canSplit$2, k as ReplaceAroundStep$2, m as findWrapping$2, n as NodeRange, o as PluginKey, p as Schema, E as EditorState, v as validateAndFormatUrl } from './chunk-dMTCelow.js';
|
|
15
15
|
import tippy, { roundArrow } from 'tippy.js';
|
|
16
16
|
import ReactDOM, { flushSync, createPortal } from 'react-dom';
|
|
17
17
|
import classnames from 'classnames';
|
|
18
|
-
import { U as URL_VALIDATORS, A as ALL_PROTOCOL_URL_REGEXP, E as EDITOR_OPTIONS, b as UNSPLASH_BASE_URL, c as URL_REGEXP } from './chunk-
|
|
18
|
+
import { U as URL_VALIDATORS, A as ALL_PROTOCOL_URL_REGEXP, E as EDITOR_OPTIONS, b as UNSPLASH_BASE_URL, c as URL_REGEXP } from './chunk-DtYaAyZo.js';
|
|
19
19
|
import { findBy, hyphenate, isNotPresent, noop, isNotEmpty, filterBy } from '@bigbinary/neeto-cist';
|
|
20
20
|
import 'tippy.js/dist/svg-arrow.css';
|
|
21
21
|
import Link from '@bigbinary/neeto-icons/Link';
|
|
@@ -67,7 +67,7 @@ import _objectWithoutProperties$1 from '@babel/runtime/helpers/objectWithoutProp
|
|
|
67
67
|
import DynamicVariables from '@bigbinary/neeto-molecules/DynamicVariables';
|
|
68
68
|
import Modal from '@bigbinary/neetoui/Modal';
|
|
69
69
|
import Tab from '@bigbinary/neetoui/Tab';
|
|
70
|
-
import { F as File, u as useFileUploader, b as useDropFiles, A as ALLOWED_IMAGE_TYPES, c as ALLOWED_VIDEO_TYPES, e as convertToFileSize, D as DEFAULT_IMAGE_UPLOAD_CONFIG, f as DEFAULT_VIDEO_UPLOAD_CONFIG, p as propTypesExports, g as getTabs } from './chunk-
|
|
70
|
+
import { F as File, u as useFileUploader, b as useDropFiles, A as ALLOWED_IMAGE_TYPES, c as ALLOWED_VIDEO_TYPES, e as convertToFileSize, D as DEFAULT_IMAGE_UPLOAD_CONFIG, f as DEFAULT_VIDEO_UPLOAD_CONFIG, p as propTypesExports, g as getTabs } from './chunk-DYM9eRpO.js';
|
|
71
71
|
import Tooltip from '@bigbinary/neetoui/Tooltip';
|
|
72
72
|
import Spinner from '@bigbinary/neetoui/Spinner';
|
|
73
73
|
import { a as getAugmentedNamespace } from './chunk-E-ZsRS8r.js';
|
|
@@ -84,7 +84,7 @@ import Success from '@bigbinary/neeto-icons/misc/Success';
|
|
|
84
84
|
import MenuHorizontal from '@bigbinary/neeto-icons/MenuHorizontal';
|
|
85
85
|
import Tippy from '@tippyjs/react';
|
|
86
86
|
import File$1 from '@bigbinary/neeto-icons/File';
|
|
87
|
-
import { D as DEFAULT_EDITOR_OPTIONS } from './chunk-
|
|
87
|
+
import { D as DEFAULT_EDITOR_OPTIONS } from './chunk-CY_7yUut.js';
|
|
88
88
|
|
|
89
89
|
const domIndex = function (node) {
|
|
90
90
|
for (var index = 0;; index++) {
|
|
@@ -19228,14 +19228,16 @@ var HighlightDropdown = function HighlightDropdown(_ref) {
|
|
|
19228
19228
|
}).run();
|
|
19229
19229
|
})();
|
|
19230
19230
|
};
|
|
19231
|
-
var handleBackgroundColorClick = function handleBackgroundColorClick(colorVar) {
|
|
19231
|
+
var handleBackgroundColorClick = function handleBackgroundColorClick(colorVar, event) {
|
|
19232
|
+
event.stopPropagation();
|
|
19232
19233
|
if (backgroundColor === "var(".concat(colorVar, ")")) {
|
|
19233
19234
|
updateBackgroundColor(null);
|
|
19234
19235
|
} else {
|
|
19235
19236
|
updateBackgroundColor("var(".concat(colorVar, ")"));
|
|
19236
19237
|
}
|
|
19237
19238
|
};
|
|
19238
|
-
var handleTextColorClick = function handleTextColorClick(colorVar) {
|
|
19239
|
+
var handleTextColorClick = function handleTextColorClick(colorVar, event) {
|
|
19240
|
+
event.stopPropagation();
|
|
19239
19241
|
if (textColor === "var(".concat(colorVar, ")")) {
|
|
19240
19242
|
editor.chain().focus().unsetColor().run();
|
|
19241
19243
|
} else {
|
|
@@ -19250,8 +19252,8 @@ var HighlightDropdown = function HighlightDropdown(_ref) {
|
|
|
19250
19252
|
isTextColor: isTextColor,
|
|
19251
19253
|
key: idx,
|
|
19252
19254
|
isSelected: isTextColor ? textColor === "var(".concat(colorVar, ")") : backgroundColor === "var(".concat(colorVar, ")"),
|
|
19253
|
-
onClick: function onClick() {
|
|
19254
|
-
return isTextColor ? handleTextColorClick(colorVar) : handleBackgroundColorClick(colorVar);
|
|
19255
|
+
onClick: function onClick(event) {
|
|
19256
|
+
return isTextColor ? handleTextColorClick(colorVar, event) : handleBackgroundColorClick(colorVar, event);
|
|
19255
19257
|
}
|
|
19256
19258
|
});
|
|
19257
19259
|
});
|
|
@@ -19900,4 +19902,4 @@ var Menu = function Menu(props) {
|
|
|
19900
19902
|
};
|
|
19901
19903
|
|
|
19902
19904
|
export { combineTransactionSteps as A, getChangedRanges as B, CALLOUT_TYPES as C, DecorationSet as D, Extension as E, findChildrenInRange as F, getMarksBetween as G, getAttributes as H, InputRule as I, highlightFocussedNode as J, resetFocussedNode as K, findParentNodeClosestToPos as L, Menu as M, Node as N, BubbleMenu as O, PasteRule as P, getLinkPopoverPosition as Q, ReactNodeViewRenderer as R, getMarkType as S, getMarkRange as T, useEditor as U, useEditorState$1 as V, EditorContent as W, MediaUploader as X, EmbedOption as Y, LinkAddPopOver as Z, EditorView as _, Mark as a, markInputRule as b, markPasteRule as c, Decoration as d, isAtStartOfNode as e, isAtEndOfNode as f, getMarkAttributes as g, getNodeType as h, isNodeActive as i, getNodeAtPosition as j, keydownHandler as k, callOrReturn as l, mergeAttributes as m, getExtensionField as n, isNodeSelection as o, nodeInputRule as p, NodeViewWrapper as q, NodeViewContent as r, findChildren as s, textblockTypeInputRule as t, escapeForRegEx as u, validateUrl as v, wrappingInputRule as w, ReactRenderer as x, EmojiPickerMenu as y, emojiPickerApi as z };
|
|
19903
|
-
//# sourceMappingURL=chunk-
|
|
19905
|
+
//# sourceMappingURL=chunk-DadYJ-PV.js.map
|