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) { // 命中底部