mirror of
https://github.com/zadam/trilium.git
synced 2025-11-01 10:55:55 +01:00
basic executor / command mechanism
This commit is contained in:
@@ -149,9 +149,7 @@ class TreeContextMenu {
|
||||
clipboard.cut(this.getSelectedOrActiveBranchIds());
|
||||
}
|
||||
else if (cmd === "moveTo") {
|
||||
const nodes = this.treeWidget.getSelectedOrActiveNodes(this.node);
|
||||
|
||||
import("../dialogs/move_to.js").then(d => d.showDialog(nodes));
|
||||
this.treeWidget.triggerCommand('moveNotesTo');
|
||||
}
|
||||
else if (cmd === "pasteAfter") {
|
||||
clipboard.pasteAfter(this.node.data.branchId);
|
||||
|
Reference in New Issue
Block a user