Skip to content

An open-source, privacy-first, self-hosted knowledge workspace where humans and AI agents work together 开源、隐私优先、自托管的知识工作空间,让人与智能体在此协作

:art: https://github.com/siyuan-note/siyuan/issues/16489

Vanessa52238675084f
diff --git a/app/src/assets/scss/protyle/_wysiwyg.scss b/app/src/assets/scss/protyle/_wysiwyg.scss
index c5b0998671..1ead82a3a1 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 729c625fe2..dd51e2d763 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) {
// 命中底部