From 52238675084f6bbf809c0a66c9fe77acde474f63 Mon Sep 17 00:00:00 2001 From: Vanessa Date: Wed, 3 Dec 2025 20:35:16 +0800 Subject: [PATCH] :art: https://github.com/siyuan-note/siyuan/issues/16489 --- app/src/assets/scss/protyle/_wysiwyg.scss | 1 + app/src/protyle/util/editorCommonEvent.ts | 1 - 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/assets/scss/protyle/_wysiwyg.scss b/app/src/assets/scss/protyle/_wysiwyg.scss index c5b099867..1ead82a3a 100644 --- a/app/src/assets/scss/protyle/_wysiwyg.scss +++ b/app/src/assets/scss/protyle/_wysiwyg.scss @@ -31,6 +31,7 @@ content: ''; position: absolute; background-color: var(--b3-theme-primary-lighter); + pointer-events: none; } &__top::after, diff --git a/app/src/protyle/util/editorCommonEvent.ts b/app/src/protyle/util/editorCommonEvent.ts index 729c625fe..dd51e2d76 100644 --- a/app/src/protyle/util/editorCommonEvent.ts +++ b/app/src/protyle/util/editorCommonEvent.ts @@ -1264,7 +1264,6 @@ export const dropEvent = (protyle: IProtyle, editorElement: HTMLElement) => { prevElement = prevElement.parentElement; } } - if (!targetElement) { if (event.clientY > editorElement.lastElementChild.getBoundingClientRect().bottom) { // 命中底部