mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-20 16:40:13 +01:00
This commit is contained in:
parent
8660a2b214
commit
86311447d1
8 changed files with 59 additions and 30 deletions
|
|
@ -206,7 +206,7 @@ export const initFileMenu = (notebookId: string, pathString: string, liElement:
|
|||
paths.push(item.getAttribute("data-path"));
|
||||
}
|
||||
});
|
||||
newFile(notebookId, pathPosix().dirname(pathString), true, paths);
|
||||
newFile(notebookId, pathPosix().dirname(pathString), paths);
|
||||
}
|
||||
}).element);
|
||||
window.siyuan.menus.menu.append(new MenuItem({
|
||||
|
|
@ -222,7 +222,7 @@ export const initFileMenu = (notebookId: string, pathString: string, liElement:
|
|||
}
|
||||
}
|
||||
});
|
||||
newFile(notebookId, pathPosix().dirname(pathString), true, paths);
|
||||
newFile(notebookId, pathPosix().dirname(pathString), paths);
|
||||
}
|
||||
}).element);
|
||||
window.siyuan.menus.menu.append(new MenuItem({type: "separator"}).element);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue