From f3f26021a727e7cef50b137bdd3ca7286c9b8909 Mon Sep 17 00:00:00 2001 From: Vanessa Date: Tue, 1 Nov 2022 18:19:17 +0800 Subject: [PATCH] :bug: https://github.com/siyuan-note/siyuan/issues/6436 --- app/src/protyle/util/editorCommonEvent.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/app/src/protyle/util/editorCommonEvent.ts b/app/src/protyle/util/editorCommonEvent.ts index c62fe25ef..346596fd6 100644 --- a/app/src/protyle/util/editorCommonEvent.ts +++ b/app/src/protyle/util/editorCommonEvent.ts @@ -697,6 +697,8 @@ export const dropEvent = (protyle: IProtyle, editorElement: HTMLElement) => { return; } if (!window.siyuan.dragElement) { + // https://github.com/siyuan-note/siyuan/issues/6436 + event.preventDefault(); return; } if (event.shiftKey || event.altKey) {