mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-24 10:30:13 +01:00
This commit is contained in:
parent
b7c82cca1e
commit
de9d57d0ac
2 changed files with 9 additions and 1 deletions
|
|
@ -1,4 +1,5 @@
|
|||
{
|
||||
"copyAVID": "复制数据库 ID",
|
||||
"hideEmptyFields": "隐藏空字段",
|
||||
"displayEmptyFields": "显示空字段",
|
||||
"cardAspectRatio": "预览区宽高比",
|
||||
|
|
|
|||
|
|
@ -1517,8 +1517,15 @@ export class Gutter {
|
|||
submenu: tableMenu(protyle, nodeElement, cellElement as HTMLTableCellElement, range).menus as IMenu[]
|
||||
}).element);
|
||||
}
|
||||
} else if (type === "NodeAttributeView" && !protyle.disabled) {
|
||||
} 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