feat(pdf): add keyboard shortcut

This commit is contained in:
Elian Doran 2025-02-01 00:36:06 +02:00
parent f3a3906db7
commit 719046e2ca
No known key found for this signature in database
3 changed files with 9 additions and 1 deletions

View File

@ -503,6 +503,12 @@ function getDefaultKeyboardActions() {
description: t("keyboard_actions.print-active-note"),
scope: "window"
},
{
actionName: "exportAsPdf",
defaultShortcuts: [],
description: t("keyboard_actions.export-as-pdf"),
scope: "window"
},
{
actionName: "openNoteExternally",
defaultShortcuts: [],

View File

@ -75,6 +75,7 @@ const enum KeyboardActionNamesEnum {
toggleRibbonTabSimilarNotes,
toggleRightPane,
printActiveNote,
exportAsPdf,
openNoteExternally,
renderActiveNote,
runActiveNote,

View File

@ -90,7 +90,8 @@
"force-save-revision": "Force creating / saving new note revision of the active note",
"show-help": "Shows built-in Help / cheatsheet",
"toggle-book-properties": "Toggle Book Properties",
"toggle-classic-editor-toolbar": "Toggle the Formatting tab for the editor with fixed toolbar"
"toggle-classic-editor-toolbar": "Toggle the Formatting tab for the editor with fixed toolbar",
"export-as-pdf": "Exports the current note as a PDF"
},
"login": {
"title": "Login",