@tiptap/core 2.22.3 → 2.23.0
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.cjs +1 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/index.umd.js +1 -1
- package/dist/index.umd.js.map +1 -1
- package/package.json +2 -2
- package/src/PasteRule.ts +1 -1
package/dist/index.cjs
CHANGED
|
@@ -1088,7 +1088,7 @@ function pasteRulesPlugin(props) {
|
|
|
1088
1088
|
dropEvent = event;
|
|
1089
1089
|
if (!isDroppedFromProseMirror) {
|
|
1090
1090
|
const dragFromOtherEditor = tiptapDragFromOtherEditor;
|
|
1091
|
-
if (dragFromOtherEditor) {
|
|
1091
|
+
if (dragFromOtherEditor === null || dragFromOtherEditor === void 0 ? void 0 : dragFromOtherEditor.isEditable) {
|
|
1092
1092
|
// setTimeout to avoid the wrong content after drop, timeout arg can't be empty or 0
|
|
1093
1093
|
setTimeout(() => {
|
|
1094
1094
|
const selection = dragFromOtherEditor.state.selection;
|