From f41b72ddc5e971ced71e40c1e0fbb123aa555c06 Mon Sep 17 00:00:00 2001 From: Jeffrey Chen <78434827+TCOTC@users.noreply.github.com> Date: Wed, 22 Oct 2025 09:30:13 +0800 Subject: [PATCH] :art: Add `data-id` attributes to elements in the font appearance menu (#16162) fix https://github.com/siyuan-note/siyuan/issues/12518 --- app/src/mobile/util/keyboardToolbar.ts | 24 ++++++++++++------------ app/src/protyle/toolbar/Font.ts | 26 +++++++++++++------------- 2 files changed, 25 insertions(+), 25 deletions(-) diff --git a/app/src/mobile/util/keyboardToolbar.ts b/app/src/mobile/util/keyboardToolbar.ts index 7da9f0d33..e202de0c2 100644 --- a/app/src/mobile/util/keyboardToolbar.ts +++ b/app/src/mobile/util/keyboardToolbar.ts @@ -64,10 +64,10 @@ export const renderTextMenu = (protyle: IProtyle, toolbarElement: Element) => { let lastColorHTML = ""; const lastFonts = window.siyuan.storage[Constants.LOCAL_FONTSTYLES]; if (lastFonts.length > 0) { - lastColorHTML = `