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);