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/16087
Vanessacee183966b6b
diff --git a/app/src/protyle/util/onGet.ts b/app/src/protyle/util/onGet.tsindex 4c5206946e..ad681c3d22 100644--- a/app/src/protyle/util/onGet.ts+++ b/app/src/protyle/util/onGet.ts@@ -80,6 +80,13 @@ export const onGet = (options: {if (options.protyle.options.render.title && options.protyle.title.element.getAttribute("data-render") !== "true") {// 文档A的大纲,关闭文档A后,点击大纲无法渲染头部} else if (options.action.includes(Constants.CB_GET_APPEND) || options.action.includes(Constants.CB_GET_BEFORE) || options.action.includes(Constants.CB_GET_HTML)) {+ if (options.protyle.options.render.title && options.protyle.options.render.hideTitleOnZoom) {+ if (options.protyle.block.showAll) {+ options.protyle.title.element.classList.add("fn__none");+ } else {+ options.protyle.title.element.classList.remove("fn__none");+ }+ }// 防止动态加载加载过多的内容setHTML({content: options.data.data.content,