mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-01-24 01:06:09 +01:00
🎨 Improve the embedded block menu (#16204)
fix https://github.com/siyuan-note/siyuan/issues/16201
This commit is contained in:
parent
45381d2575
commit
57bb4fca56
1 changed files with 1 additions and 1 deletions
|
|
@ -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": ""}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue