mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-01-03 15:28:49 +01: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
1 changed files with 1 additions and 0 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue