@bigbinary/neeto-editor 1.47.50 → 1.47.51
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 +5 -3
- package/dist/Editor.js.map +1 -1
- package/dist/FormikEditor.js +1 -1
- package/dist/Menu.js +1 -1
- package/dist/{chunk-C-0Q1FN5.js → chunk-BuwZ56CV.js} +2 -2
- package/dist/{chunk-C-0Q1FN5.js.map → chunk-BuwZ56CV.js.map} +1 -1
- package/dist/cjs/Editor.cjs.js +5 -3
- 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-C8WnTgx_.cjs.js → chunk-D-D5oWUE.cjs.js} +2 -2
- package/dist/cjs/{chunk-C8WnTgx_.cjs.js.map → chunk-D-D5oWUE.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/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 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 EditorContent, W as MediaUploader, X as LinkAddPopOver, Y 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 EditorContent, W as MediaUploader, X as LinkAddPopOver, Y as EditorView } from './chunk-BuwZ56CV.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-7IwD_Poi.js';
|
|
10
10
|
import { isNotPresent, findBy, isNotEmpty, isPresent, noop as noop$1, slugify } from '@bigbinary/neeto-cist';
|
|
@@ -20704,11 +20704,12 @@ var TableActionMenu = function TableActionMenu(_ref) {
|
|
|
20704
20704
|
appendTo: function appendTo() {
|
|
20705
20705
|
return document.body;
|
|
20706
20706
|
},
|
|
20707
|
+
className: "neeto-editor-table-bubble-menu__dropdown",
|
|
20707
20708
|
closeOnSelect: false,
|
|
20708
20709
|
position: "bottom-start",
|
|
20709
20710
|
strategy: "fixed",
|
|
20710
20711
|
buttonProps: {
|
|
20711
|
-
className: "neeto-editor-table-bubble-
|
|
20712
|
+
className: "neeto-editor-table-bubble-menu__dropdown-item",
|
|
20712
20713
|
icon: Down,
|
|
20713
20714
|
iconPosition: "right",
|
|
20714
20715
|
iconSize: 16,
|
|
@@ -20722,7 +20723,7 @@ var TableActionMenu = function TableActionMenu(_ref) {
|
|
|
20722
20723
|
}
|
|
20723
20724
|
},
|
|
20724
20725
|
children: /*#__PURE__*/jsx(Menu, {
|
|
20725
|
-
className: "neeto-ui-
|
|
20726
|
+
className: "neeto-ui-flex neeto-ui-items-center neeto-ui-justify-center",
|
|
20726
20727
|
children: (_action$items = action.items) === null || _action$items === void 0 ? void 0 : _action$items.map(function (_ref3) {
|
|
20727
20728
|
var type = _ref3.type,
|
|
20728
20729
|
command = _ref3.command,
|
|
@@ -20730,6 +20731,7 @@ var TableActionMenu = function TableActionMenu(_ref) {
|
|
|
20730
20731
|
var IconComponent = alignmentIcons[type];
|
|
20731
20732
|
return /*#__PURE__*/jsx(MenuItem, {
|
|
20732
20733
|
children: /*#__PURE__*/jsx(Button, {
|
|
20734
|
+
className: "neeto-editor-table-bubble-menu__item",
|
|
20733
20735
|
icon: IconComponent,
|
|
20734
20736
|
style: "text",
|
|
20735
20737
|
tooltipProps: {
|