mirror of
https://github.com/zadam/trilium.git
synced 2025-10-31 18:36:30 +01:00
ctrl+alt+p will create new note in a new tab
This commit is contained in:
@@ -120,6 +120,8 @@ if (utils.isElectron()) {
|
||||
const todayNote = await dateNoteService.getTodayNote();
|
||||
const node = await treeService.expandToNote(todayNote.noteId);
|
||||
|
||||
await noteDetailService.openEmptyTab(false);
|
||||
|
||||
await treeService.createNote(node, todayNote.noteId, 'into', {
|
||||
type: "text",
|
||||
isProtected: node.data.isProtected
|
||||
|
||||
Reference in New Issue
Block a user