From 4ca91ee22dec5c0c2457b8d2a2cccd32e42b43fd Mon Sep 17 00:00:00 2001 From: Vanessa Date: Wed, 26 Feb 2025 00:11:48 +0800 Subject: [PATCH] :art: https://github.com/siyuan-note/siyuan/pull/14183 --- app/src/config/editor.ts | 37 ++++++++++++++++++++++++++++--------- 1 file changed, 28 insertions(+), 9 deletions(-) diff --git a/app/src/config/editor.ts b/app/src/config/editor.ts index de55decdf..2fb996d92 100644 --- a/app/src/config/editor.ts +++ b/app/src/config/editor.ts @@ -7,12 +7,11 @@ import {updateHotkeyTip} from "../protyle/util/compatibility"; import {Constants} from "../constants"; import {resize} from "../protyle/util/resize"; import {setReadOnly} from "./util/setReadOnly"; +import {Menu} from "../plugin/Menu"; export const editor = { element: undefined as Element, genHTML: () => { - let fontFamilyHTML = ""; - fontFamilyHTML = ''; return `