From c9d9a79ebb6e8285fd0fdc7830e0a83ac854f518 Mon Sep 17 00:00:00 2001 From: Vanessa Date: Sat, 22 Jul 2023 22:23:38 +0800 Subject: [PATCH] :bug: fix https://github.com/siyuan-note/siyuan/issues/8808 --- app/src/protyle/toolbar/Font.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/protyle/toolbar/Font.ts b/app/src/protyle/toolbar/Font.ts index 8840aaf5b..d97841d54 100644 --- a/app/src/protyle/toolbar/Font.ts +++ b/app/src/protyle/toolbar/Font.ts @@ -16,7 +16,7 @@ export class Font extends ToolbarItem { protyle.toolbar.subElement.innerHTML = ""; protyle.toolbar.subElement.style.width = ""; protyle.toolbar.subElement.style.padding = ""; - protyle.toolbar.subElement.append(appearanceMenu(protyle, getFontNodeElements())); + protyle.toolbar.subElement.append(appearanceMenu(protyle, getFontNodeElements(protyle))); protyle.toolbar.subElement.classList.remove("fn__none"); protyle.toolbar.subElementCloseCB = undefined; focusByRange(protyle.toolbar.range);