From 4001317ab25227148a2d6b911934a1f2f3b766a5 Mon Sep 17 00:00:00 2001 From: Vanessa Date: Fri, 16 Jun 2023 11:36:50 +0800 Subject: [PATCH] :bug: fix https://github.com/siyuan-note/siyuan/issues/8548 --- app/src/protyle/util/editorCommonEvent.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/protyle/util/editorCommonEvent.ts b/app/src/protyle/util/editorCommonEvent.ts index 6168cb112..36afc44d8 100644 --- a/app/src/protyle/util/editorCommonEvent.ts +++ b/app/src/protyle/util/editorCommonEvent.ts @@ -755,7 +755,7 @@ export const dropEvent = (protyle: IProtyle, editorElement: HTMLElement) => { }); insertHTML(protyle.lute.SpinBlockDOM(html), protyle, true); blockRender(protyle, protyle.wysiwyg.element); - } else if (targetElement) { + } else if (targetElement && targetElement.className.indexOf("dragover__") > -1) { let queryClass = ""; selectedIds.forEach(item => { queryClass += `[data-node-id="${item}"],`;