@bigbinary/neeto-editor 1.45.20 → 1.45.21

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.
@@ -19716,8 +19716,9 @@ var Editor = function Editor(_ref, ref) {
19716
19716
  }, 100);
19717
19717
  var handleBlur = function handleBlur(props) {
19718
19718
  var editor = props.editor;
19719
- var trimmedContent = common.removeEmptyTags(editor.getHTML());
19720
- onChange(trimmedContent);
19719
+ var content = editor.getHTML();
19720
+ var trimmedContent = common.removeEmptyTags(content);
19721
+ if (content !== trimmedContent) onChange(trimmedContent);
19721
19722
  onBlur(props);
19722
19723
  };
19723
19724
  var customExtensions = useCustomExtensions({