mirror of
https://github.com/zadam/trilium.git
synced 2025-10-31 18:36:30 +01:00
added possibility to search by attached script returning note ids + some refactorings
This commit is contained in:
@@ -158,7 +158,7 @@ async function getContextMenuItems(event) {
|
||||
|
||||
function selectContextMenuItem(event, cmd) {
|
||||
// context menu is always triggered on current node
|
||||
const node = treeService.getCurrentNode();
|
||||
const node = treeService.getActiveNode();
|
||||
|
||||
if (cmd.startsWith("insertNoteAfter")) {
|
||||
const parentNoteId = node.data.parentNoteId;
|
||||
|
||||
Reference in New Issue
Block a user