@bigbinary/neeto-editor 1.45.8-beta.1 → 1.45.9
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 +4 -3
- package/dist/Editor.js.map +1 -1
- package/dist/FormikEditor.js +2 -2
- package/dist/Menu.js +2 -2
- package/dist/{chunk-JuLeeW25.js → chunk-DYi5Rp_k.js} +5 -2
- package/dist/{chunk-JuLeeW25.js.map → chunk-DYi5Rp_k.js.map} +1 -1
- package/dist/{chunk-B449VRb0.js → chunk-DmpsWhQd.js} +2 -2
- package/dist/{chunk-B449VRb0.js.map → chunk-DmpsWhQd.js.map} +1 -1
- package/dist/cjs/Editor.cjs.js +4 -3
- package/dist/cjs/Editor.cjs.js.map +1 -1
- package/dist/cjs/FormikEditor.cjs.js +2 -2
- package/dist/cjs/Menu.cjs.js +2 -2
- package/dist/cjs/{chunk-CCuwUzbU.cjs.js → chunk-DJTBXWQc.cjs.js} +2 -2
- package/dist/cjs/{chunk-CCuwUzbU.cjs.js.map → chunk-DJTBXWQc.cjs.js.map} +1 -1
- package/dist/cjs/{chunk-DE0Ix9vi.cjs.js → chunk-PdbK5csE.cjs.js} +5 -1
- package/dist/cjs/{chunk-DE0Ix9vi.cjs.js.map → chunk-PdbK5csE.cjs.js.map} +1 -1
- package/dist/cjs/index.cjs.js +2 -2
- package/dist/cjs/utils.cjs.js +1 -1
- package/dist/editor-stats.html +1 -19
- package/dist/index.js +2 -2
- package/dist/utils.js +1 -1
- package/package.json +1 -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, useEffect, useState, 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 findChildren, j as NodeViewWrapper, l as NodeViewContent, R as ReactNodeViewRenderer, P as PasteRule, v as validateUrl, o as escapeForRegEx, p as ReactRenderer, q as EmojiPickerMenu, r as emojiPickerApi, s as liftTarget, u as combineTransactionSteps, x as getChangedRanges, y as findChildrenInRange, z as getMarksBetween, A as getAttributes, I as InputRule, B as highlightFocussedNode, C as resetFocussedNode, F as findParentNodeClosestToPos, G as BubbleMenu, H as getLinkPopoverPosition, J as getMarkType, K as getMarkRange, L as useEditor, O as useEditorState, M as Menu$3, Q as EditorContent, S as MediaUploader, T as EmbedOption, U 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 findChildren, j as NodeViewWrapper, l as NodeViewContent, R as ReactNodeViewRenderer, P as PasteRule, v as validateUrl, o as escapeForRegEx, p as ReactRenderer, q as EmojiPickerMenu, r as emojiPickerApi, s as liftTarget, u as combineTransactionSteps, x as getChangedRanges, y as findChildrenInRange, z as getMarksBetween, A as getAttributes, I as InputRule, B as highlightFocussedNode, C as resetFocussedNode, F as findParentNodeClosestToPos, G as BubbleMenu, H as getLinkPopoverPosition, J as getMarkType, K as getMarkRange, L as useEditor, O as useEditorState, M as Menu$3, Q as EditorContent, S as MediaUploader, T as EmbedOption, U as EditorView } from './chunk-DmpsWhQd.js';
|
|
8
8
|
import classnames from 'classnames';
|
|
9
9
|
import { C as COMBINED_REGEX, D as DIRECT_UPLOAD_ENDPOINT, a as EDITOR_OPTIONS, E as EDITOR_SIZES } from './chunk-vOLrvB3A.js';
|
|
10
10
|
import { isNotPresent, isNotEmpty, isPresent, noop as noop$1, slugify } from '@bigbinary/neeto-cist';
|
|
@@ -13,7 +13,7 @@ import Label from '@bigbinary/neetoui/Label';
|
|
|
13
13
|
import { is, intersection, difference, union, mergeRight, isEmpty as isEmpty$1, isNil, assoc, equals } from 'ramda';
|
|
14
14
|
import { jsxs, Fragment, jsx } from 'react/jsx-runtime';
|
|
15
15
|
import { n } from './chunk-DmrvuTKK.js';
|
|
16
|
-
import { P as Plugin, o as PluginKey, b as Slice, F as Fragment$1, T as TextSelection, S as Selection, d as dropPoint, N as NodeSelection, s as Mapping$1, M as Mark$1, e as MarkType, R as ReplaceError, u as SelectionRange, L as LINK_VALIDATION_SCHEMA, v as validateAndFormatUrl, w as getEditorStyles, x as clipboardTextParser, y as setInitialPosition, q as DEFAULT_EDITOR_OPTIONS } from './chunk-
|
|
16
|
+
import { P as Plugin, o as PluginKey, b as Slice, F as Fragment$1, T as TextSelection, S as Selection, d as dropPoint, N as NodeSelection, s as Mapping$1, M as Mark$1, e as MarkType, R as ReplaceError, u as SelectionRange, L as LINK_VALIDATION_SCHEMA, v as validateAndFormatUrl, w as getEditorStyles, x as clipboardTextParser, y as transformPastedHTML, z as setInitialPosition, q as DEFAULT_EDITOR_OPTIONS } from './chunk-DYi5Rp_k.js';
|
|
17
17
|
import * as Y from 'yjs';
|
|
18
18
|
import { UndoManager, Item as Item$1, ContentType, Text as Text$2, XmlElement } from 'yjs';
|
|
19
19
|
import Down from '@bigbinary/neeto-icons/Down';
|
|
@@ -19698,7 +19698,8 @@ var Editor = function Editor(_ref, ref) {
|
|
|
19698
19698
|
}),
|
|
19699
19699
|
"data-cy": "neeto-editor-content"
|
|
19700
19700
|
}, ariaAttributes), contentAttributes),
|
|
19701
|
-
clipboardTextParser: clipboardTextParser
|
|
19701
|
+
clipboardTextParser: clipboardTextParser,
|
|
19702
|
+
transformPastedHTML: transformPastedHTML
|
|
19702
19703
|
},
|
|
19703
19704
|
parseOptions: {
|
|
19704
19705
|
preserveWhitespace: true
|