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://ld246.com/article/1763598190179
Vanessad4c3fd0db329
diff --git a/app/src/editor/util.ts b/app/src/editor/util.tsindex 0d52069395..60215fec97 100644--- a/app/src/editor/util.ts+++ b/app/src/editor/util.ts@@ -392,7 +392,7 @@ const switchEditor = (editor: Editor, options: IOpenFileOptions, allModels: IModif (newRange) {editor.editor.protyle.toolbar.range = newRange;}- scrollCenter(editor.editor.protyle);+ scrollCenter(editor.editor.protyle, editor.editor.protyle.disabled ? nodeElement : null);editor.editor.protyle.observerLoad = new ResizeObserver(() => {if (document.contains(nodeElement)) {scrollCenter(editor.editor.protyle);