mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-26 11:28:49 +01:00
This commit is contained in:
parent
edd358032b
commit
600f218910
1 changed files with 7 additions and 7 deletions
|
|
@ -1289,6 +1289,13 @@ export class Gutter {
|
|||
}
|
||||
}]);
|
||||
if (type === "NodeAttributeView") {
|
||||
copyMenu.splice(6, 0, {
|
||||
iconHTML: "",
|
||||
label: window.siyuan.languages.copyAVID,
|
||||
click() {
|
||||
writeText(nodeElement.getAttribute("data-av-id"));
|
||||
}
|
||||
});
|
||||
copyMenu.push({
|
||||
id: "duplicateCompletely",
|
||||
iconHTML: "",
|
||||
|
|
@ -1519,13 +1526,6 @@ export class Gutter {
|
|||
}
|
||||
} else if (type === "NodeAttributeView") {
|
||||
window.siyuan.menus.menu.append(new MenuItem({id: "separator_exportCSV", type: "separator"}).element);
|
||||
window.siyuan.menus.menu.append(new MenuItem({
|
||||
icon: "iconCopy",
|
||||
label: window.siyuan.languages.copyAVID,
|
||||
click() {
|
||||
writeText(nodeElement.getAttribute("data-av-id"));
|
||||
}
|
||||
}).element);
|
||||
window.siyuan.menus.menu.append(new MenuItem({
|
||||
id: "exportCSV",
|
||||
icon: "iconDatabase",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue