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/8019
Vanessafe143bcb12ab
diff --git a/app/src/protyle/wysiwyg/index.ts b/app/src/protyle/wysiwyg/index.tsindex 8723b81dac..d39a9036c0 100644--- a/app/src/protyle/wysiwyg/index.ts+++ b/app/src/protyle/wysiwyg/index.ts@@ -1796,7 +1796,10 @@ export class WYSIWYG {const topElement = getTopAloneElement(item);if (item.getAttribute("data-type") === "NodeHeading" && item.getAttribute("fold") === "1") {needClipboardWrite = true;- const response = await fetchSyncPost("/api/block/getHeadingChildrenDOM", {id: item.getAttribute("data-node-id")});+ const response = await fetchSyncPost("/api/block/getHeadingChildrenDOM", {+ id: item.getAttribute("data-node-id"),+ removeFoldAttr: false+ });html += response.data;} else {html += removeEmbed(topElement);