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/5087 2
Vanessa7223dec015af
diff --git a/app/src/layout/dock/Outline.ts b/app/src/layout/dock/Outline.tsindex bb62a48904..2dc330417e 100644--- a/app/src/layout/dock/Outline.ts+++ b/app/src/layout/dock/Outline.ts@@ -147,6 +147,15 @@ export class Outline extends Model {getDockByType("outline").toggleModel("outline");break;}+ break;+ } else if (target.isSameNode(this.headerElement.nextElementSibling) || target.classList.contains("block__icons")) {+ getAllModels().editor.find(item => {+ if (this.blockId === item.editor.protyle.block.rootID) {+ item.editor.protyle.contentElement.scrollTop = 0;+ return true;+ }+ });+ break;}target = target.parentElement;}@@ -163,7 +172,7 @@ export class Outline extends Model {}}- public updateDocTitle(ial?:IObject) {+ public updateDocTitle(ial?: IObject) {if (this.type === "pin") {if (ial) {let iconHTML = `<span class="b3-list-item__graphic">${unicode2Emoji(ial.icon || Constants.SIYUAN_IMAGE_FILE)}</span>`;