From 20b0dd7d28bec152ed86fb5b8b1a27122c043299 Mon Sep 17 00:00:00 2001 From: Vanessa Date: Sun, 8 Jun 2025 10:44:05 +0800 Subject: [PATCH] :art: https://github.com/siyuan-note/siyuan/issues/14985 --- 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 b894dc866..33134d37b 100644 --- a/app/src/protyle/toolbar/Font.ts +++ b/app/src/protyle/toolbar/Font.ts @@ -378,7 +378,7 @@ export const hasSameTextStyle = (currentElement: HTMLElement, sideElement: HTMLE types.includes("a")) { return false; } - if (types.includes("id")) { + if (types.includes("block-ref")) { if (currentElement.getAttribute("data-id") !== sideElement.getAttribute("data-id") || currentElement.getAttribute("data-subtype") !== sideElement.getAttribute("data-subtype") || currentElement.textContent !== sideElement.textContent) {