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