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/14370
Daniel27633686438d
diff --git a/app/src/protyle/wysiwyg/transaction.ts b/app/src/protyle/wysiwyg/transaction.tsindex 9c35d23bff..8975a4252e 100644--- a/app/src/protyle/wysiwyg/transaction.ts+++ b/app/src/protyle/wysiwyg/transaction.ts@@ -272,7 +272,7 @@ const updateEmbed = (protyle: IProtyle, operation: IOperation) => {item.querySelectorAll(`.protyle-wysiwyg__embed`).forEach(embedBlockItem => {const newTempElement = tempElement.content.querySelector(`[data-node-id="${embedBlockItem.getAttribute("data-id")}"]`)if (newTempElement) {- updateEmbedElements.push(embedBlockItem.firstElementChild)+ updateEmbedElements.push(embedBlockItem.querySelector('[data-node-id]'))html = newTempElement.outerHTML}});