@bigbinary/neeto-editor 1.45.29 → 1.45.31
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 -5
- package/dist/Editor.js.map +1 -1
- package/dist/FormikEditor.js +1 -1
- package/dist/Menu.js +1 -1
- package/dist/{chunk-C0xZGEez.js → chunk-B6_bJoYE.js} +5 -4
- package/dist/{chunk-C0xZGEez.js.map → chunk-B6_bJoYE.js.map} +1 -1
- package/dist/cjs/Editor.cjs.js +5 -5
- 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-C-KwpuWA.cjs.js → chunk-0fKNRx3i.cjs.js} +5 -4
- package/dist/cjs/{chunk-C-KwpuWA.cjs.js.map → chunk-0fKNRx3i.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/FormikEditor.js
CHANGED
|
@@ -8,7 +8,7 @@ import Editor from './Editor.js';
|
|
|
8
8
|
import { jsx } from 'react/jsx-runtime';
|
|
9
9
|
import '@babel/runtime/helpers/toConsumableArray';
|
|
10
10
|
import '@babel/runtime/helpers/slicedToArray';
|
|
11
|
-
import './chunk-
|
|
11
|
+
import './chunk-B6_bJoYE.js';
|
|
12
12
|
import './chunk-DmrvuTKK.js';
|
|
13
13
|
import 'i18next';
|
|
14
14
|
import './chunk-BQZagJsZ.js';
|
package/dist/Menu.js
CHANGED
|
@@ -3,7 +3,7 @@ import '@babel/runtime/helpers/toConsumableArray';
|
|
|
3
3
|
import '@babel/runtime/helpers/slicedToArray';
|
|
4
4
|
import 'react';
|
|
5
5
|
import 'ramda';
|
|
6
|
-
export { M as default } from './chunk-
|
|
6
|
+
export { M as default } from './chunk-B6_bJoYE.js';
|
|
7
7
|
import './chunk-CftSm0ZU.js';
|
|
8
8
|
import 'react/jsx-runtime';
|
|
9
9
|
import './chunk-DmrvuTKK.js';
|
|
@@ -17841,14 +17841,15 @@ var MediaUploader = function MediaUploader(_ref) {
|
|
|
17841
17841
|
};
|
|
17842
17842
|
var handleSubmit = function handleSubmit(url) {
|
|
17843
17843
|
insertMediaToEditor({
|
|
17844
|
-
url: url
|
|
17844
|
+
url: url,
|
|
17845
|
+
alt: "image"
|
|
17845
17846
|
});
|
|
17846
17847
|
handleClose();
|
|
17847
17848
|
};
|
|
17848
17849
|
var insertMediaToEditor = function insertMediaToEditor(file) {
|
|
17849
17850
|
var url = file.url,
|
|
17850
17851
|
_file$filename = file.filename,
|
|
17851
|
-
filename = _file$filename === void 0 ? "" : _file$filename,
|
|
17852
|
+
filename = _file$filename === void 0 ? "image" : _file$filename,
|
|
17852
17853
|
_file$caption = file.caption,
|
|
17853
17854
|
caption = _file$caption === void 0 ? "" : _file$caption;
|
|
17854
17855
|
var mediaAttrs = {
|
|
@@ -17869,7 +17870,7 @@ var MediaUploader = function MediaUploader(_ref) {
|
|
|
17869
17870
|
return /*#__PURE__*/jsx(Modal, {
|
|
17870
17871
|
isOpen: isOpen,
|
|
17871
17872
|
className: "ne-media-uploader-modal",
|
|
17872
|
-
closeButton:
|
|
17873
|
+
closeButton: not(isUploading),
|
|
17873
17874
|
closeOnOutsideClick: not(isUploading),
|
|
17874
17875
|
onClose: handleClose,
|
|
17875
17876
|
children: /*#__PURE__*/jsxs("div", {
|
|
@@ -19457,4 +19458,4 @@ var Menu = function Menu(props) {
|
|
|
19457
19458
|
};
|
|
19458
19459
|
|
|
19459
19460
|
export { combineTransactionSteps as A, getChangedRanges as B, findChildrenInRange as C, DecorationSet as D, Extension as E, getMarksBetween as F, getAttributes as G, highlightFocussedNode as H, InputRule as I, resetFocussedNode as J, findParentNodeClosestToPos as K, BubbleMenu as L, Menu as M, Node as N, getLinkPopoverPosition as O, PasteRule as P, getMarkType as Q, ReactNodeViewRenderer as R, getMarkRange as S, useEditor as T, useEditorState$1 as U, EditorContent as V, MediaUploader as W, EmbedOption as X, EditorView as Y, Mark as a, markInputRule as b, markPasteRule as c, Decoration as d, isAtStartOfNode as e, isAtEndOfNode as f, getMarkAttributes as g, getNodeType$1 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, findChildren as q, NodeViewWrapper as r, NodeViewContent as s, textblockTypeInputRule as t, escapeForRegEx as u, validateUrl as v, wrappingInputRule as w, ReactRenderer as x, EmojiPickerMenu as y, emojiPickerApi as z };
|
|
19460
|
-
//# sourceMappingURL=chunk-
|
|
19461
|
+
//# sourceMappingURL=chunk-B6_bJoYE.js.map
|