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: Remove leading and trailing whitespace characters from the plugin's top bar icon parameters (#17322)
Jeffrey Chen375bd7774ea0
diff --git a/app/src/plugin/index.ts b/app/src/plugin/index.tsindex 0579fa0ba2..8207f39185 100644--- a/app/src/plugin/index.ts+++ b/app/src/plugin/index.ts@@ -199,6 +199,7 @@ export class Plugin {position?: "south" | "left",callback: (evt: MouseEvent) => void}) {+ options.icon = options.icon.trim();if (!options.icon.startsWith("icon") && !options.icon.startsWith("<svg")) {console.error(`plugin ${this.name} addTopBar error: icon must be svg id or svg tag`);return;