An open-source, privacy-first, self-hosted knowledge workspace where humans and AI agents work together 开源、隐私优先、自托管的知识工作空间,让人与智能体在此协作
TypeScript agentic-aiai-agentknowledge-baselocal-firstmarkdownmcpmindmapnote-takingself-hostedsiyuanworkspace
:art: https://github.com/siyuan-note/siyuan/issues/16906
Vanessafc251ef22d52
diff --git a/app/src/protyle/util/onGet.ts b/app/src/protyle/util/onGet.tsindex b62c4f4731..8855a76a36 100644--- a/app/src/protyle/util/onGet.ts+++ b/app/src/protyle/util/onGet.ts@@ -318,7 +318,7 @@ const setHTML = (options: {}// 动态滚动条拖拽到最后几个块时需多加载一点块 https://github.com/siyuan-note/siyuan/issues/16906if (options.action.includes(Constants.CB_GET_FOCUSFIRST) &&- protyle.contentElement.scrollHeight <= protyle.contentElement.clientHeight) {+ protyle.wysiwyg.element.getBoundingClientRect().top > protyle.breadcrumb.element.getBoundingClientRect().bottom) {fetchPost("/api/filetree/getDoc", {id: protyle.wysiwyg.element.firstElementChild.getAttribute("data-node-id"),mode: 1,