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/15761
Vanessaea2294e90153
diff --git a/app/src/protyle/wysiwyg/input.ts b/app/src/protyle/wysiwyg/input.tsindex 21105e8c93..8ec43da4aa 100644--- a/app/src/protyle/wysiwyg/input.ts+++ b/app/src/protyle/wysiwyg/input.ts@@ -37,6 +37,10 @@ export const input = async (protyle: IProtyle, blockElement: HTMLElement, range:} else if (type === "NodeBlockQueryEmbed") {blockElement.lastElementChild.previousElementSibling.innerHTML = "<wbr>" + Constants.ZWSP;} else if (type === "NodeMathBlock" || type === "NodeHTMLBlock") {+ // https://github.com/siyuan-note/siyuan/issues/15761+ if (blockElement.firstElementChild.firstChild.nodeType === 3) {+ blockElement.firstElementChild.firstChild.remove();+ }blockElement.lastElementChild.previousElementSibling.lastElementChild.innerHTML = "<wbr>" + Constants.ZWSP;} else if (type === "NodeIFrame" || type === "NodeWidget") {blockElement.innerHTML = "<wbr>" + blockElement.firstElementChild.outerHTML + blockElement.lastElementChild.outerHTML;