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/10346
Vanessa3e8585394da8
diff --git a/app/src/protyle/util/insertHTML.ts b/app/src/protyle/util/insertHTML.tsindex 4f879bb0d4..20db1e75e9 100644--- a/app/src/protyle/util/insertHTML.ts+++ b/app/src/protyle/util/insertHTML.ts@@ -248,6 +248,7 @@ export const insertHTML = (html: string, protyle: IProtyle, isBlock = false,range.insertNode(tempElement.content.cloneNode(true));range.collapse(false);blockElement.querySelector("wbr")?.remove();+ protyle.wysiwyg.lastHTMLs[id] = oldHTML;input(protyle, blockElement as HTMLElement, range);return;}