Skip to content

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

:art: https://github.com/siyuan-note/siyuan/issues/14524

Vanessa26cb2a4976a0
diff --git a/app/src/protyle/toolbar/Font.ts b/app/src/protyle/toolbar/Font.ts
index 7faedc256a..e43b600f94 100644
--- a/app/src/protyle/toolbar/Font.ts
+++ b/app/src/protyle/toolbar/Font.ts
@@ -50,7 +50,7 @@ export const appearanceMenu = (protyle: IProtyle, nodeElements?: Element[]) => {
element.classList.add("protyle-font");
let disableFont = false;
nodeElements?.find((item: HTMLElement) => {
- if (item.classList.contains("list") || item.classList.contains("li")) {
+ if (item.classList.contains("li")) {
disableFont = true;
return true;
}