Skip to content

An open-source, privacy-first, self-hosted knowledge workspace where humans and AI agents work together 开源、隐私优先、自托管的知识工作空间,让人与智能体在此协作

:bug: Apply toolbar icon changes on editor initialization https://github.com/siyuan-note/siyuan/issues/12732

Daniel023843b2da02
diff --git a/app/src/protyle/util/Options.ts b/app/src/protyle/util/Options.ts
index 5eeb56c811..6e8ae27082 100644
--- a/app/src/protyle/util/Options.ts
+++ b/app/src/protyle/util/Options.ts
@@ -118,14 +118,14 @@ export class Options {
"mark",
"sup",
"sub",
- "clear",
- "format-painter",
- "|",
"code",
"kbd",
"tag",
"inline-math",
"inline-memo",
+ "|",
+ "format-painter",
+ {name: "clear", icon: "iconEraser"},
],
typewriterMode: false,
upload: {