An open-source, privacy-first, self-hosted knowledge workspace where humans and AI agents work together 开源、隐私优先、自托管的知识工作空间,让人与智能体在此协作
TypeScript agentic-aiai-agentknowledge-baselocal-firstmarkdownmcpmindmapnote-takingself-hostedsiyuanworkspace
:bug: fix https://github.com/siyuan-note/siyuan/issues/6108
Vanessa424066a85837
diff --git a/app/src/layout/dock/Backlink.ts b/app/src/layout/dock/Backlink.tsindex fe4741046e..a4863b8d77 100644--- a/app/src/layout/dock/Backlink.ts+++ b/app/src/layout/dock/Backlink.ts@@ -392,7 +392,7 @@ export class Backlink extends Model {editorElement.setAttribute("data-ismention", isMention ? "true" : "false");liElement.after(editorElement);const editor = new Protyle(editorElement, {- blockId: "",+ blockId: docId,backlinkData: isMention ? response.data.backmentions : response.data.backlinks,render: {background: false,@@ -402,7 +402,6 @@ export class Backlink extends Model {breadcrumb: false,}});- editor.protyle.block.rootID = docId;this.editors.push(editor);});}diff --git a/app/src/protyle/index.ts b/app/src/protyle/index.tsindex 304b64e04b..a2a733497b 100644--- a/app/src/protyle/index.ts+++ b/app/src/protyle/index.ts@@ -159,6 +159,7 @@ export class Protyle {});setPadding(this.protyle);if (options.backlinkData) {+ this.protyle.block.rootID = options.blockId;renderBacklink(this.protyle, options.backlinkData);return;}