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/14879
Vanessacf999cd3367c
diff --git a/app/src/protyle/toolbar/index.ts b/app/src/protyle/toolbar/index.tsindex f29addcd6b..fc09b6ba83 100644--- a/app/src/protyle/toolbar/index.ts+++ b/app/src/protyle/toolbar/index.ts@@ -1007,7 +1007,7 @@ export class Toolbar {} else {textElement.value = Lute.UnEscapeHTMLStr(renderElement.getAttribute("data-content") || "");}-+ const oldTextValue = textElement.value;textElement.addEventListener("input", (event) => {if (!renderElement.parentElement) {return;@@ -1063,7 +1063,7 @@ export class Toolbar {}});this.subElementCloseCB = () => {- if (!renderElement.parentElement || protyle.disabled) {+ if (!renderElement.parentElement || protyle.disabled || oldTextValue === textElement.value) {return;}let inlineLastNode: Element;