From 57bb4fca561ef257b1389020afc1dcb9dfe2ee2b Mon Sep 17 00:00:00 2001 From: Jeffrey Chen <78434827+TCOTC@users.noreply.github.com> Date: Sun, 26 Oct 2025 18:46:37 +0800 Subject: [PATCH] :art: Improve the embedded block menu (#16204) fix https://github.com/siyuan-note/siyuan/issues/16201 --- app/src/protyle/gutter/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/protyle/gutter/index.ts b/app/src/protyle/gutter/index.ts index 3b77bdeca..23e3336b0 100644 --- a/app/src/protyle/gutter/index.ts +++ b/app/src/protyle/gutter/index.ts @@ -1698,7 +1698,7 @@ export class Gutter { iconHTML: "", checked: !nodeElement.getAttribute("custom-heading-mode"), click() { - nodeElement.setAttribute("custom-heading-mode", "0"); + nodeElement.removeAttribute("custom-heading-mode"); fetchPost("/api/attr/setBlockAttrs", { id, attrs: {"custom-heading-mode": ""}