mirror of
https://github.com/zadam/trilium.git
synced 2025-10-30 18:05:55 +01:00
note type context submenu now works end to end
This commit is contained in:
@@ -122,7 +122,7 @@ if (utils.isElectron()) {
|
||||
setTimeout(async () => {
|
||||
const parentNode = treeService.getCurrentNode();
|
||||
|
||||
const {note} = await treeService.createNote(parentNode, parentNode.data.noteId, 'into', parentNode.data.isProtected);
|
||||
const {note} = await treeService.createNote(parentNode, parentNode.data.noteId, 'into', "text", parentNode.data.isProtected);
|
||||
|
||||
await treeService.activateNote(note.noteId);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user