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/11321
Vanessa178a7e8d77d7
diff --git a/app/src/protyle/toolbar/index.ts b/app/src/protyle/toolbar/index.tsindex f78dcb36f1..ff88bcc84d 100644--- a/app/src/protyle/toolbar/index.ts+++ b/app/src/protyle/toolbar/index.ts@@ -995,7 +995,7 @@ export class Toolbar {/// #endifconst textElement = this.subElement.querySelector(".b3-text-field") as HTMLTextAreaElement;if (types.includes("NodeHTMLBlock")) {- textElement.value = Lute.UnEscapeHTMLStr(renderElement.querySelector("protyle-html").getAttribute("data-content") || "");+ textElement.value = renderElement.querySelector("protyle-html").getAttribute("data-content") || "";} else if (isInlineMemo) {textElement.value = Lute.UnEscapeHTMLStr(renderElement.getAttribute("data-inline-memo-content") || "");} else {diff --git a/app/stage/protyle/js/protyle-html.js b/app/stage/protyle/js/protyle-html.jsindex 5982df8641..0956319e8b 100644--- a/app/stage/protyle/js/protyle-html.js+++ b/app/stage/protyle/js/protyle-html.js@@ -7,7 +7,7 @@ class ProtyleHtml extends HTMLElement {super()const shadowRoot = this.attachShadow({mode: 'open'})this.display = this.shadowRoot- const dataContent = Lute.UnEscapeHTMLStr(this.getAttribute('data-content'))+ const dataContent = this.getAttribute('data-content')this.display.innerHTML = dataContent}