ctrl+alt+p will create new note in a new tab

This commit is contained in:
zadam
2019-05-19 10:46:19 +02:00
parent f3e7e6bbe7
commit 597eb5a300
3 changed files with 9 additions and 3 deletions

View File

@@ -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