diff --git a/apps/client/src/widgets/note_tree.ts b/apps/client/src/widgets/note_tree.ts index 0b89162ea..12647e207 100644 --- a/apps/client/src/widgets/note_tree.ts +++ b/apps/client/src/widgets/note_tree.ts @@ -244,9 +244,13 @@ export default class NoteTreeWidget extends NoteContextAwareWidget { const notePath = treeService.getNotePath(node); if (notePath) { - appContext.tabManager.openTabWithNoteWithHoisting(notePath, { - activate: e.shiftKey ? true : false - }); + if (e.ctrlKey) { + appContext.triggerCommand("openInPopup", { noteIdOrPath: notePath }); + } else { + appContext.tabManager.openTabWithNoteWithHoisting(notePath, { + activate: e.shiftKey ? true : false + }); + } } e.stopPropagation();