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/7548
Vanessa6b51f9d778d1
diff --git a/app/src/protyle/toolbar/index.ts b/app/src/protyle/toolbar/index.tsindex bef4b09970..2b9e34a6f0 100644--- a/app/src/protyle/toolbar/index.ts+++ b/app/src/protyle/toolbar/index.ts@@ -622,7 +622,12 @@ export class Toolbar {}}if (previousElement) {- this.mergeNode(previousElement.childNodes);+ if (previousElement.nodeType !== 3 && previousElement.textContent === Constants.ZWSP) {+ // https://github.com/siyuan-note/siyuan/issues/7548+ previousElement.remove();+ } else {+ this.mergeNode(previousElement.childNodes);+ }}if (nextElement) {this.mergeNode(nextElement.childNodes);