From 8ef941001e5c5581b323650d36b45df8f99e21fd Mon Sep 17 00:00:00 2001 From: Vanessa Date: Tue, 24 Jun 2025 19:52:55 +0800 Subject: [PATCH] :art: https://github.com/siyuan-note/siyuan/issues/15117 --- app/src/protyle/util/editorCommonEvent.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/app/src/protyle/util/editorCommonEvent.ts b/app/src/protyle/util/editorCommonEvent.ts index 88709e12b..fe611296c 100644 --- a/app/src/protyle/util/editorCommonEvent.ts +++ b/app/src/protyle/util/editorCommonEvent.ts @@ -1456,6 +1456,9 @@ export const dropEvent = (protyle: IProtyle, editorElement: HTMLElement) => { if (targetElement.classList.contains("av") || !galleryElement || !galleryElement.contains(window.siyuan.dragElement) || targetElement.isSameNode(window.siyuan.dragElement)) { targetElement = false; + editorElement.querySelectorAll(".dragover__left, .dragover__right").forEach((item: HTMLElement) => { + item.classList.remove("dragover__left", "dragover__right"); + }); } } if (!targetElement) {