mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-05-03 02:09:59 +08:00
Add data-id
attribute to the buttons (#14214)
fix https://github.com/siyuan-note/siyuan/issues/12518
This commit is contained in:
parent
40b1924a83
commit
aa5d257e1d
@ -1373,6 +1373,7 @@ export class Gutter {
|
||||
}
|
||||
}).element);
|
||||
window.siyuan.menus.menu.append(new MenuItem({
|
||||
id: "turnInto" + (isCol ? "VLayout" : "HLayout"),
|
||||
accelerator: window.siyuan.config.keymap.editor.general[isCol ? "vLayout" : "hLayout"].custom,
|
||||
label: window.siyuan.languages.turnInto + " " + window.siyuan.languages[isCol ? "vLayout" : "hLayout"],
|
||||
click() {
|
||||
|
Loading…
Reference in New Issue
Block a user