Skip to content

Build your personal knowledge base with Trilium Notes

chore(command_palette): disable two unsupported commands

Elian Doran024022299833
diff --git a/apps/server/src/services/keyboard_actions.ts b/apps/server/src/services/keyboard_actions.ts
index 5e5807fd0c..65efaaa663 100644
--- a/apps/server/src/services/keyboard_actions.ts
+++ b/apps/server/src/services/keyboard_actions.ts
@@ -245,18 +245,18 @@ function getDefaultKeyboardActions() {
{
actionName: "addNoteAboveToSelection",
friendlyName: t("keyboard_action_names.add-note-above-to-selection"),
- iconClass: "bx bx-chevron-up-square",
defaultShortcuts: ["Shift+Up"],
description: t("keyboard_actions.add-note-above-to-the-selection"),
- scope: "note-tree"
+ scope: "note-tree",
+ ignoreFromCommandPalette: true
},
{
actionName: "addNoteBelowToSelection",
friendlyName: t("keyboard_action_names.add-note-below-to-selection"),
- iconClass: "bx bx-chevron-down-square",
defaultShortcuts: ["Shift+Down"],
description: t("keyboard_actions.add-note-below-to-selection"),
- scope: "note-tree"
+ scope: "note-tree",
+ ignoreFromCommandPalette: true
},
{
actionName: "duplicateSubtree",