mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-03-13 07:56:14 +01:00
Add data-id attribute to the buttons (#14182)
fix https://github.com/siyuan-note/siyuan/issues/12518
This commit is contained in:
parent
853cf71d31
commit
33f8def8ce
16 changed files with 224 additions and 31 deletions
|
|
@ -6,6 +6,7 @@ export const textMenu = (target: Element) => {
|
|||
return;
|
||||
}
|
||||
menu.addItem({
|
||||
id: "copy",
|
||||
label: window.siyuan.languages.copy,
|
||||
icon: "iconCopy",
|
||||
click() {
|
||||
|
|
@ -20,6 +21,7 @@ export const textMenu = (target: Element) => {
|
|||
}
|
||||
});
|
||||
menu.addItem({
|
||||
id: "selectAll",
|
||||
label: window.siyuan.languages.selectAll,
|
||||
icon: "iconSelect",
|
||||
click() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue