@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.
@@ -6728,6 +6728,9 @@ var transformEditorContent = function transformEditorContent(content) {
6728
6728
  var isEmojiSuggestionsMenuActive = function isEmojiSuggestionsMenuActive() {
6729
6729
  return !!document.querySelector(".neeto-editor-emoji-suggestion");
6730
6730
  };
6731
+ var transformPastedHTML = function transformPastedHTML(content) {
6732
+ return content.replaceAll("<br />", "<p></p>");
6733
+ };
6731
6734
 
6732
6735
  exports.AllSelection = AllSelection;
6733
6736
  exports.DEFAULT_EDITOR_OPTIONS = DEFAULT_EDITOR_OPTIONS;
@@ -6764,5 +6767,6 @@ exports.liftTarget = liftTarget;
6764
6767
  exports.replaceStep = replaceStep;
6765
6768
  exports.setInitialPosition = setInitialPosition;
6766
6769
  exports.transformEditorContent = transformEditorContent;
6770
+ exports.transformPastedHTML = transformPastedHTML;
6767
6771
  exports.validateAndFormatUrl = validateAndFormatUrl;
6768
- //# sourceMappingURL=chunk-DE0Ix9vi.cjs.js.map
6772
+ //# sourceMappingURL=chunk-PdbK5csE.cjs.js.map