mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-19 16:10:12 +01:00
This commit is contained in:
parent
3f00813034
commit
4bd2760b2b
4 changed files with 97 additions and 57 deletions
|
|
@ -200,6 +200,7 @@ export const initFileMenu = (notebookId: string, pathString: string, liElement:
|
|||
icon: "iconCopy",
|
||||
submenu: (copySubMenu(id, false) as IMenu[]).concat([{
|
||||
label: window.siyuan.languages.duplicate,
|
||||
accelerator: window.siyuan.config.keymap.editor.general.duplicate.custom,
|
||||
click() {
|
||||
fetchPost("/api/filetree/duplicateDoc", {
|
||||
id
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue