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/14904
Vanessabb77dfa5a4ca
diff --git a/app/src/protyle/wysiwyg/transaction.ts b/app/src/protyle/wysiwyg/transaction.tsindex c5eb6244ee..9b9677c8e2 100644--- a/app/src/protyle/wysiwyg/transaction.ts+++ b/app/src/protyle/wysiwyg/transaction.ts@@ -294,7 +294,7 @@ const updateEmbed = (protyle: IProtyle, operation: IOperation) => {} else {item.querySelectorAll(".protyle-wysiwyg__embed").forEach(embedBlockItem => {const newTempElement = allTempElement.content.querySelector(`[data-node-id="${embedBlockItem.getAttribute("data-id")}"]`);- if (newTempElement) {+ if (newTempElement && !isInEmbedBlock(newTempElement)) {updateHTML(embedBlockItem.querySelector("[data-node-id]"), newTempElement.outerHTML);}});