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/14704
Vanessa93afce147797
diff --git a/app/src/protyle/toolbar/index.ts b/app/src/protyle/toolbar/index.tsindex 5625451f4e..fd7054a72f 100644--- a/app/src/protyle/toolbar/index.ts+++ b/app/src/protyle/toolbar/index.ts@@ -488,7 +488,7 @@ export class Toolbar {if (item.textContent) {const inlineElement = document.createElement("span");inlineElement.setAttribute("data-type", type);- inlineElement.textContent = item.textContent;+ inlineElement.textContent = type === "a" ? (item.textContent.trim() || "*") : item.textContent;setFontStyle(inlineElement, textObj);if (type === "text" && !inlineElement.getAttribute("style")) {