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/13232
Vanessa3d5c08e8b144
diff --git a/app/src/protyle/util/insertHTML.ts b/app/src/protyle/util/insertHTML.tsindex d959825a5a..e1271b5326 100644--- a/app/src/protyle/util/insertHTML.ts+++ b/app/src/protyle/util/insertHTML.ts@@ -413,6 +413,10 @@ export const insertHTML = (html: string, protyle: IProtyle, isBlock = false,}}(insertBefore ? Array.from(tempElement.content.children) : Array.from(tempElement.content.children).reverse()).forEach((item) => {+ // https://github.com/siyuan-note/siyuan/issues/13232+ if (item.getAttribute("data-type") === "NodeHeading" && item.getAttribute("fold") === "1") {+ item.removeAttribute("fold")+ }let addId = item.getAttribute("data-node-id");if (addId === id) {doOperation.push({