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/9247
Vanessabe9d61c757b6
diff --git a/app/src/protyle/breadcrumb/index.ts b/app/src/protyle/breadcrumb/index.tsindex 1cae6721ee..b3357a2221 100644--- a/app/src/protyle/breadcrumb/index.ts+++ b/app/src/protyle/breadcrumb/index.ts@@ -415,6 +415,13 @@ export class Breadcrumb {accelerator: window.siyuan.config.keymap.editor.general.wysiwyg.custom,click: () => {setEditMode(protyle, "wysiwyg");+ protyle.scroll.lastScrollTop = 0;+ fetchPost("/api/filetree/getDoc", {+ id: protyle.block.parentID,+ size: window.siyuan.config.editor.dynamicLoadBlocks,+ }, getResponse => {+ onGet({data: getResponse, protyle});+ });}}];editSubmenu.push({diff --git a/app/src/protyle/index.ts b/app/src/protyle/index.tsindex 66fbc0d50d..bb5872408b 100644--- a/app/src/protyle/index.ts+++ b/app/src/protyle/index.ts@@ -113,7 +113,11 @@ export class Protyle {break;case "transactions":data.data[0].doOperations.forEach((item: IOperation) => {- onTransaction(this.protyle, item, false);+ if (!this.protyle.preview.element.classList.contains("fn__none")) {+ this.protyle.preview.render(this.protyle);+ } else {+ onTransaction(this.protyle, item, false);+ }});break;case "readonly":