@bigbinary/neeto-editor-frontend 2.3.2 → 2.3.3

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/.ready CHANGED
@@ -1 +1 @@
1
- Built at 2026-10-29T09:48:12.059Z
1
+ Built at 2026-10-29T09:52:37.489Z
@@ -660,7 +660,10 @@ var AttachmentExtension = useEditorStore.Node.create({
660
660
  return {
661
661
  uploadAttachments: function uploadAttachments(files, position) {
662
662
  return function (_ref4) {
663
- var editor = _ref4.editor;
663
+ var editor = _ref4.editor,
664
+ tr = _ref4.tr;
665
+ // uploadFiles dispatches its own transaction, so this command's tr is stale.
666
+ tr.setMeta("preventDispatch", true);
664
667
  _this.storage.uploadFiles(editor, Array.from(files), position);
665
668
  return true;
666
669
  };