@bigbinary/neeto-editor 1.45.30 → 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.
@@ -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-NtwHU3BJ.js';
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-NtwHU3BJ.js';
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 = {
@@ -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-NtwHU3BJ.js.map
19461
+ //# sourceMappingURL=chunk-B6_bJoYE.js.map