mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-21 17:10:12 +01:00
🎨 https://github.com/siyuan-note/siyuan/issues/1359 选中多个文档后菜单或快捷键的移动
This commit is contained in:
parent
e3a6bb2251
commit
f250b00de6
5 changed files with 41 additions and 24 deletions
|
|
@ -793,13 +793,13 @@ export const renameMenu = (options: {
|
|||
}).element;
|
||||
};
|
||||
|
||||
export const movePathToMenu = (notebookId: string, path: string) => {
|
||||
export const movePathToMenu = (paths: string[]) => {
|
||||
return new MenuItem({
|
||||
label: window.siyuan.languages.move,
|
||||
icon: "iconMove",
|
||||
accelerator: window.siyuan.config.keymap.general.move.custom,
|
||||
click() {
|
||||
movePathTo(notebookId, path);
|
||||
movePathTo(paths);
|
||||
}
|
||||
}).element;
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue