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/10088
Vanessa59e3781d22e7
diff --git a/app/src/protyle/toolbar/Font.ts b/app/src/protyle/toolbar/Font.tsindex 833b7868e4..1849289182 100644--- a/app/src/protyle/toolbar/Font.ts+++ b/app/src/protyle/toolbar/Font.ts@@ -203,8 +203,8 @@ export const fontEvent = (protyle: IProtyle, nodeElements: Element[], type?: strcolor = "var(--b3-card-error-color)" + Constants.ZWSP + "var(--b3-card-error-background)";} else {const fontStyles = localFontStyles[0].split(Constants.ZWSP);- type = fontStyles[0];- color = fontStyles[1];+ type = fontStyles.splice(0, 1)[0];+ color = fontStyles.join(Constants.ZWSP);}}if (nodeElements && nodeElements.length > 0) {