@tiptap/core 2.22.3 → 2.23.1

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/index.umd.js CHANGED
@@ -1084,7 +1084,7 @@
1084
1084
  dropEvent = event;
1085
1085
  if (!isDroppedFromProseMirror) {
1086
1086
  const dragFromOtherEditor = tiptapDragFromOtherEditor;
1087
- if (dragFromOtherEditor) {
1087
+ if (dragFromOtherEditor === null || dragFromOtherEditor === void 0 ? void 0 : dragFromOtherEditor.isEditable) {
1088
1088
  // setTimeout to avoid the wrong content after drop, timeout arg can't be empty or 0
1089
1089
  setTimeout(() => {
1090
1090
  const selection = dragFromOtherEditor.state.selection;