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: fix https://github.com/siyuan-note/siyuan/issues/5094
Vanessa90b8de3b10d2
diff --git a/app/src/protyle/util/onGet.ts b/app/src/protyle/util/onGet.tsindex 9f8b59dd68..e0be15ad6e 100644--- a/app/src/protyle/util/onGet.ts+++ b/app/src/protyle/util/onGet.ts@@ -141,8 +141,10 @@ const setHTML = (options: { content: string, action?: string[] }, protyle: IProtif (!options.action.includes(Constants.CB_GET_UNUNDO)) {pushBack(protyle, undefined, focusElement);}+ focusElement.scrollIntoView();+ // 减少抖动 https://ld246.com/article/1654263598088setTimeout(() => {- scrollCenter(protyle, focusElement, true);+ focusElement.scrollIntoView();}, Constants.TIMEOUT_BLOCKLOAD);} else {focusBlock(protyle.wysiwyg.element.firstElementChild);