mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-07-03 14:09:06 +02:00
This commit is contained in:
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user