mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-07-03 14:09:06 +02:00
🎨 Improve the embedded block menu (#16204)
fix https://github.com/siyuan-note/siyuan/issues/16201
This commit is contained in:
@@ -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": ""}
|
||||
|
||||
Reference in New Issue
Block a user