@bigbinary/neeto-editor 1.45.8-beta.1 → 1.45.8

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.
@@ -7,11 +7,11 @@ import Editor from './Editor.js';
7
7
  import { jsx } from 'react/jsx-runtime';
8
8
  import '@babel/runtime/helpers/toConsumableArray';
9
9
  import '@babel/runtime/helpers/slicedToArray';
10
- import './chunk-B449VRb0.js';
10
+ import './chunk-DmpsWhQd.js';
11
11
  import 'ramda';
12
12
  import './chunk-DmrvuTKK.js';
13
13
  import 'i18next';
14
- import './chunk-JuLeeW25.js';
14
+ import './chunk-DYi5Rp_k.js';
15
15
  import './chunk-vOLrvB3A.js';
16
16
  import 'yup';
17
17
  import 'tippy.js';
package/dist/Menu.js CHANGED
@@ -3,8 +3,8 @@ 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-B449VRb0.js';
7
- import './chunk-JuLeeW25.js';
6
+ export { M as default } from './chunk-DmpsWhQd.js';
7
+ import './chunk-DYi5Rp_k.js';
8
8
  import 'react/jsx-runtime';
9
9
  import './chunk-DmrvuTKK.js';
10
10
  import 'i18next';
@@ -6707,6 +6707,9 @@ var transformEditorContent = function transformEditorContent(content) {
6707
6707
  var isEmojiSuggestionsMenuActive = function isEmojiSuggestionsMenuActive() {
6708
6708
  return !!document.querySelector(".neeto-editor-emoji-suggestion");
6709
6709
  };
6710
+ var transformPastedHTML = function transformPastedHTML(content) {
6711
+ return content.replaceAll("<br />", "<p></p>");
6712
+ };
6710
6713
 
6711
- export { AllSelection as A, DOMSerializer as D, EditorState as E, Fragment as F, LINK_VALIDATION_SCHEMA as L, Mark as M, NodeSelection as N, Plugin as P, ReplaceError as R, Selection as S, TextSelection as T, isEmojiSuggestionsMenuActive as a, Slice as b, DOMParser as c, dropPoint as d, MarkType as e, ReplaceStep as f, canJoin as g, canSplit as h, isEditorOverlaysActive as i, joinPoint as j, ReplaceAroundStep as k, liftTarget as l, findWrapping as m, NodeRange as n, PluginKey as o, Schema as p, DEFAULT_EDITOR_OPTIONS as q, replaceStep as r, Mapping as s, transformEditorContent as t, SelectionRange as u, validateAndFormatUrl as v, getEditorStyles as w, clipboardTextParser as x, setInitialPosition as y };
6712
- //# sourceMappingURL=chunk-JuLeeW25.js.map
6714
+ export { AllSelection as A, DOMSerializer as D, EditorState as E, Fragment as F, LINK_VALIDATION_SCHEMA as L, Mark as M, NodeSelection as N, Plugin as P, ReplaceError as R, Selection as S, TextSelection as T, isEmojiSuggestionsMenuActive as a, Slice as b, DOMParser as c, dropPoint as d, MarkType as e, ReplaceStep as f, canJoin as g, canSplit as h, isEditorOverlaysActive as i, joinPoint as j, ReplaceAroundStep as k, liftTarget as l, findWrapping as m, NodeRange as n, PluginKey as o, Schema as p, DEFAULT_EDITOR_OPTIONS as q, replaceStep as r, Mapping as s, transformEditorContent as t, SelectionRange as u, validateAndFormatUrl as v, getEditorStyles as w, clipboardTextParser as x, transformPastedHTML as y, setInitialPosition as z };
6715
+ //# sourceMappingURL=chunk-DYi5Rp_k.js.map