Skip to content

Build your personal knowledge base with Trilium Notes

feat(command_palette): active tab-related commands on browser

Elian Doran0e6b10e40007
diff --git a/apps/server/src/services/keyboard_actions.ts b/apps/server/src/services/keyboard_actions.ts
index 65efaaa663..4ce5bc2a69 100644
--- a/apps/server/src/services/keyboard_actions.ts
+++ b/apps/server/src/services/keyboard_actions.ts
@@ -275,7 +275,6 @@ function getDefaultKeyboardActions() {
friendlyName: t("keyboard_action_names.open-new-tab"),
iconClass: "bx bx-plus",
defaultShortcuts: isElectron ? ["CommandOrControl+T"] : [],
- isElectronOnly: true,
description: t("keyboard_actions.open-new-tab"),
scope: "window"
},
@@ -284,7 +283,6 @@ function getDefaultKeyboardActions() {
friendlyName: t("keyboard_action_names.close-active-tab"),
iconClass: "bx bx-minus",
defaultShortcuts: isElectron ? ["CommandOrControl+W"] : [],
- isElectronOnly: true,
description: t("keyboard_actions.close-active-tab"),
scope: "window"
},
@@ -302,7 +300,6 @@ function getDefaultKeyboardActions() {
friendlyName: t("keyboard_action_names.activate-next-tab"),
iconClass: "bx bx-skip-next",
defaultShortcuts: isElectron ? ["CommandOrControl+Tab", "CommandOrControl+PageDown"] : [],
- isElectronOnly: true,
description: t("keyboard_actions.activate-next-tab"),
scope: "window"
},
@@ -311,7 +308,6 @@ function getDefaultKeyboardActions() {
friendlyName: t("keyboard_action_names.activate-previous-tab"),
iconClass: "bx bx-skip-previous",
defaultShortcuts: isElectron ? ["CommandOrControl+Shift+Tab", "CommandOrControl+PageUp"] : [],
- isElectronOnly: true,
description: t("keyboard_actions.activate-previous-tab"),
scope: "window"
},