@bigbinary/neeto-editor-frontend 2.3.1 → 2.3.2
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/.ready +1 -1
- package/dist/Editor.js +7 -13
- package/dist/Editor.js.map +1 -1
- package/dist/EditorContent.js +4 -4
- package/dist/FormikEditor.js +7 -7
- package/dist/Menu.js +5 -5
- package/dist/{chunk-Bqh1Tsc6.js → chunk-8Y1qxQKJ.js} +4 -4
- package/dist/{chunk-Bqh1Tsc6.js.map → chunk-8Y1qxQKJ.js.map} +1 -1
- package/dist/{chunk-DPx9v04U.js → chunk-B3vcuuGc.js} +3 -3
- package/dist/{chunk-DPx9v04U.js.map → chunk-B3vcuuGc.js.map} +1 -1
- package/dist/{chunk-DcxOAiAp.js → chunk-BEu5qvTE.js} +2 -2
- package/dist/{chunk-DcxOAiAp.js.map → chunk-BEu5qvTE.js.map} +1 -1
- package/dist/{chunk-BE7om7ts.js → chunk-CO5ISBiA.js} +5 -5
- package/dist/{chunk-BE7om7ts.js.map → chunk-CO5ISBiA.js.map} +1 -1
- package/dist/{chunk-LtUevT4I.js → chunk-D-UBA5Ku.js} +2 -2
- package/dist/{chunk-LtUevT4I.js.map → chunk-D-UBA5Ku.js.map} +1 -1
- package/dist/{chunk-C9H9LYpP.js → chunk-D1r5E1QP.js} +2 -2
- package/dist/{chunk-C9H9LYpP.js.map → chunk-D1r5E1QP.js.map} +1 -1
- package/dist/{chunk-CMfrTj8Z.js → chunk-D4YRISfA.js} +3 -3
- package/dist/{chunk-CMfrTj8Z.js.map → chunk-D4YRISfA.js.map} +1 -1
- package/dist/{chunk-B5LsYrmv.js → chunk-D7WJxGfx.js} +6300 -6300
- package/dist/{chunk-B5LsYrmv.js.map → chunk-D7WJxGfx.js.map} +1 -1
- package/dist/{chunk-DqSrbxqC.js → chunk-DNTLyDg4.js} +2 -2
- package/dist/{chunk-DqSrbxqC.js.map → chunk-DNTLyDg4.js.map} +1 -1
- package/dist/{chunk-Bskj5cbo.js → chunk-DOpcw6oQ.js} +3 -3
- package/dist/{chunk-Bskj5cbo.js.map → chunk-DOpcw6oQ.js.map} +1 -1
- package/dist/{chunk-PFB_80PR.js → chunk-Das-Irbp.js} +4 -4
- package/dist/{chunk-PFB_80PR.js.map → chunk-Das-Irbp.js.map} +1 -1
- package/dist/cjs/Editor.cjs.js +3 -9
- package/dist/cjs/Editor.cjs.js.map +1 -1
- package/dist/cjs/FormikEditor.cjs.js +3 -3
- package/dist/cjs/Menu.cjs.js +2 -2
- package/dist/cjs/{chunk-CVJLunrU.cjs.js → chunk-BXtUbe44.cjs.js} +2 -2
- package/dist/cjs/{chunk-CVJLunrU.cjs.js.map → chunk-BXtUbe44.cjs.js.map} +1 -1
- package/dist/cjs/{chunk-DOiH1lXw.cjs.js → chunk-Bw2Qm2Gs.cjs.js} +2 -2
- package/dist/cjs/{chunk-DOiH1lXw.cjs.js.map → chunk-Bw2Qm2Gs.cjs.js.map} +1 -1
- package/dist/cjs/{chunk-DoDh8RsI.cjs.js → chunk-CgH53wyh.cjs.js} +2 -2
- package/dist/cjs/{chunk-DoDh8RsI.cjs.js.map → chunk-CgH53wyh.cjs.js.map} +1 -1
- package/dist/cjs/{chunk-CxKWZyHq.cjs.js → chunk-Co9YfTVh.cjs.js} +6297 -6298
- package/dist/cjs/chunk-Co9YfTVh.cjs.js.map +1 -0
- package/dist/cjs/index.cjs.js +3 -3
- package/dist/cjs/v2/Editor.cjs.js +3 -7
- package/dist/cjs/v2/Editor.cjs.js.map +1 -1
- package/dist/cjs/v2/FormikEditor.cjs.js +3 -3
- package/dist/cjs/v2/Menu.cjs.js +2 -2
- package/dist/cjs/v2/index.cjs.js +3 -3
- package/dist/editor-stats.html +1 -1
- package/dist/index.js +9 -9
- package/dist/utils.js +6 -6
- package/dist/v2/Editor.js +6 -10
- package/dist/v2/Editor.js.map +1 -1
- package/dist/v2/EditorContent.js +4 -4
- package/dist/v2/FormikEditor.js +6 -6
- package/dist/v2/Menu.js +4 -4
- package/dist/v2/index.js +8 -8
- package/dist/v2/utils.js +6 -6
- package/package.json +9 -9
- package/dist/cjs/chunk-CxKWZyHq.cjs.js.map +0 -1
package/dist/.ready
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
Built at 2026-10-
|
|
1
|
+
Built at 2026-10-29T09:48:12.059Z
|
package/dist/Editor.js
CHANGED
|
@@ -3,7 +3,7 @@ import _toConsumableArray from '@babel/runtime/helpers/toConsumableArray';
|
|
|
3
3
|
import _slicedToArray from '@babel/runtime/helpers/slicedToArray';
|
|
4
4
|
import _objectWithoutProperties from '@babel/runtime/helpers/objectWithoutProperties';
|
|
5
5
|
import React__default, { memo, useState, useRef, useCallback, useEffect, createElement, forwardRef, useImperativeHandle } from 'react';
|
|
6
|
-
import { a as useEditorState, E as Extension, N as NodeViewWrapper, b as NodeViewContent, c as Node, R as ReactNodeViewRenderer, m as mergeAttributes, D as DecorationSet, d as Decoration, f as ReactRenderer, e as emojiPickerApi, h as markInputRule, I as InputRule, r as resetFocussedNode, i as highlightFocussedNode, P as PasteRule, C as CellSelection, B as BubbleMenu, j as getMarkType, k as getMarkRange, l as useEditor, n as EditorContent
|
|
6
|
+
import { a as useEditorState, E as Extension, N as NodeViewWrapper, b as NodeViewContent, c as Node, R as ReactNodeViewRenderer, m as mergeAttributes, D as DecorationSet, d as Decoration, f as ReactRenderer, e as emojiPickerApi, h as markInputRule, I as InputRule, r as resetFocussedNode, i as highlightFocussedNode, P as PasteRule, C as CellSelection, B as BubbleMenu, j as getMarkType, k as getMarkRange, l as useEditor, n as EditorContent } from './chunk-D7WJxGfx.js';
|
|
7
7
|
import classnames from 'classnames';
|
|
8
8
|
import { isNotPresent, findBy, isNotEmpty, isPresent, noop, slugify } from '@bigbinary/neeto-cist';
|
|
9
9
|
import { withT, useOnClickOutside, useFuncDebounce } from '@bigbinary/neeto-commons-frontend/react-utils';
|
|
@@ -12,14 +12,14 @@ import { createPortal } from 'react-dom';
|
|
|
12
12
|
import { D as DIRECT_UPLOAD_ENDPOINT, E as EDITOR_OPTIONS, C as COMBINED_REGEX, a as EDITOR_SIZES } from './chunk-71BzByG6.js';
|
|
13
13
|
import { is, intersection, difference, union, isEmpty, isNil, mergeRight, assoc, equals } from 'ramda';
|
|
14
14
|
import { jsxs, Fragment, jsx } from 'react/jsx-runtime';
|
|
15
|
-
import { B as BulletList$1, s as src_default, a as src_default$1, R as Resizable, b as src_default$2, L as Link$1, c as scrollHandler, d as src_default$3, O as OrderedList$1, e as src_default$4, f as fuzzySearch, T as Table$2, g as TaskList, h as TaskItem, i as getVariableDisplay, j as getVideoDimension, C as CharacterCount, k as src_default$5, l as src_default$6, m as safeSplitBlock, n as safeListKeymap, o as TextStyle, p as src_default$7, F as Focus, q as src_default$8, r as TableRow, t as TableHeader, u as TableCell, v as Color, w as ListItem, x as src_default$9, y as src_default$a, z as useFetchKbArticles, M as MODE, A as createArticleOptions, D as MODAL_LEFT_OFFSET, E as MODAL_TOP_OFFSET, G as MODAL_TRANSFORM_Y, H as MODAL_TRANSFORM_X, I as MODAL_BOTTOM_MARGIN, J as buildArticleFullUrl, K as useEditorWarnings, N as useDeletedArticles } from './chunk-
|
|
15
|
+
import { B as BulletList$1, s as src_default, a as src_default$1, R as Resizable, b as src_default$2, L as Link$1, c as scrollHandler, d as src_default$3, O as OrderedList$1, e as src_default$4, f as fuzzySearch, T as Table$2, g as TaskList, h as TaskItem, i as getVariableDisplay, j as getVideoDimension, C as CharacterCount, k as src_default$5, l as src_default$6, m as safeSplitBlock, n as safeListKeymap, o as TextStyle, p as src_default$7, F as Focus, q as src_default$8, r as TableRow, t as TableHeader, u as TableCell, v as Color, w as ListItem, x as src_default$9, y as src_default$a, z as useFetchKbArticles, M as MODE, A as createArticleOptions, D as MODAL_LEFT_OFFSET, E as MODAL_TOP_OFFSET, G as MODAL_TRANSFORM_Y, H as MODAL_TRANSFORM_X, I as MODAL_BOTTOM_MARGIN, J as buildArticleFullUrl, K as useEditorWarnings, N as useDeletedArticles } from './chunk-CO5ISBiA.js';
|
|
16
16
|
import { n } from './chunk-C2dztUxs.js';
|
|
17
|
-
import { b as buildLevelsFromOptions, v as validateAndFormatUrl, g as getEditorStyles, c as transformPastedHTML, h as handlePaste, d as clipboardTextParser, s as setInitialPosition } from './chunk-
|
|
17
|
+
import { b as buildLevelsFromOptions, v as validateAndFormatUrl, g as getEditorStyles, c as transformPastedHTML, h as handlePaste, d as clipboardTextParser, s as setInitialPosition } from './chunk-D4YRISfA.js';
|
|
18
18
|
import ReactDOM from 'react-dom/server';
|
|
19
|
-
import { l as lowlight, d as decodeHtmlEntities, r as removeEmptyTags } from './chunk-
|
|
19
|
+
import { l as lowlight, d as decodeHtmlEntities, r as removeEmptyTags } from './chunk-D-UBA5Ku.js';
|
|
20
20
|
import { L as LINK_VALIDATION_SCHEMA, D as DEFAULT_EDITOR_OPTIONS } from './chunk-Dwn1Kihg.js';
|
|
21
21
|
import Megaphone from '@bigbinary/neeto-icons/misc/Megaphone';
|
|
22
|
-
import { C as CALLOUT_TYPES, E as EmojiPickerMenu, v as validateUrl, g as getLinkPopoverPosition, M as Menu$4, a as MenuDynamicVariables, b as MediaUploader, L as LinkAddPopOver } from './chunk-
|
|
22
|
+
import { C as CALLOUT_TYPES, E as EmojiPickerMenu, v as validateUrl, g as getLinkPopoverPosition, M as Menu$4, a as MenuDynamicVariables, b as MediaUploader, L as LinkAddPopOver } from './chunk-DOpcw6oQ.js';
|
|
23
23
|
import Down from '@bigbinary/neeto-icons/Down';
|
|
24
24
|
import Highlight from '@bigbinary/neeto-icons/Highlight';
|
|
25
25
|
import CopyToClipboardButton from '@bigbinary/neeto-molecules/CopyToClipboardButton';
|
|
@@ -28,7 +28,7 @@ import Input from '@bigbinary/neetoui/Input';
|
|
|
28
28
|
import Button from '@bigbinary/neetoui/Button';
|
|
29
29
|
import { useTranslation } from 'react-i18next';
|
|
30
30
|
import { t } from 'i18next';
|
|
31
|
-
import { g as PluginKey, P as Plugin, S as Selection, T as TextSelection } from './chunk-
|
|
31
|
+
import { g as PluginKey, P as Plugin, S as Selection, T as TextSelection } from './chunk-DNTLyDg4.js';
|
|
32
32
|
import _asyncToGenerator from '@babel/runtime/helpers/asyncToGenerator';
|
|
33
33
|
import '@babel/runtime/helpers/readOnlyError';
|
|
34
34
|
import tippy from 'tippy.js';
|
|
@@ -48,7 +48,7 @@ import MenuHorizontal from '@bigbinary/neeto-icons/MenuHorizontal';
|
|
|
48
48
|
import AspectRatio from '@bigbinary/neeto-icons/AspectRatio';
|
|
49
49
|
import Tooltip from '@bigbinary/neetoui/Tooltip';
|
|
50
50
|
import { d as buildImageOptions, e as DEFAULT_ASPECT_RATIO } from './chunk-B-DmzF0q.js';
|
|
51
|
-
import { S as Slice, F as Fragment$1 } from './chunk-
|
|
51
|
+
import { S as Slice, F as Fragment$1 } from './chunk-D1r5E1QP.js';
|
|
52
52
|
import Avatar from '@bigbinary/neetoui/Avatar';
|
|
53
53
|
import Typography from '@bigbinary/neetoui/Typography';
|
|
54
54
|
import Tippy from '@tippyjs/react';
|
|
@@ -5438,12 +5438,6 @@ var Editor = function Editor(_ref, ref) {
|
|
|
5438
5438
|
if (!editor || !deletedArticlesHook.deletedArticleIds.size) return;
|
|
5439
5439
|
editor.commands.updateDeletedArticles(deletedArticlesHook.deletedArticleIds);
|
|
5440
5440
|
}, [editor, deletedArticlesHook.deletedArticleIds]);
|
|
5441
|
-
|
|
5442
|
-
// https://github.com/ueberdosis/tiptap/issues/1451#issuecomment-953348865
|
|
5443
|
-
EditorView.prototype.updateState = function updateState(state) {
|
|
5444
|
-
if (!this.docView) return;
|
|
5445
|
-
this.updateStateInner(state, this.state.plugins !== state.plugins);
|
|
5446
|
-
};
|
|
5447
5441
|
return /*#__PURE__*/jsxs("div", {
|
|
5448
5442
|
"data-testid": "neeto-editor-wrapper",
|
|
5449
5443
|
ref: wrapperRef,
|