mirror of
https://github.com/TriliumNext/Notes.git
synced 2025-07-28 10:32:27 +08:00
feat(pdf): add keyboard shortcut
This commit is contained in:
parent
f3a3906db7
commit
719046e2ca
@ -503,6 +503,12 @@ function getDefaultKeyboardActions() {
|
|||||||
description: t("keyboard_actions.print-active-note"),
|
description: t("keyboard_actions.print-active-note"),
|
||||||
scope: "window"
|
scope: "window"
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
actionName: "exportAsPdf",
|
||||||
|
defaultShortcuts: [],
|
||||||
|
description: t("keyboard_actions.export-as-pdf"),
|
||||||
|
scope: "window"
|
||||||
|
},
|
||||||
{
|
{
|
||||||
actionName: "openNoteExternally",
|
actionName: "openNoteExternally",
|
||||||
defaultShortcuts: [],
|
defaultShortcuts: [],
|
||||||
|
@ -75,6 +75,7 @@ const enum KeyboardActionNamesEnum {
|
|||||||
toggleRibbonTabSimilarNotes,
|
toggleRibbonTabSimilarNotes,
|
||||||
toggleRightPane,
|
toggleRightPane,
|
||||||
printActiveNote,
|
printActiveNote,
|
||||||
|
exportAsPdf,
|
||||||
openNoteExternally,
|
openNoteExternally,
|
||||||
renderActiveNote,
|
renderActiveNote,
|
||||||
runActiveNote,
|
runActiveNote,
|
||||||
|
@ -90,7 +90,8 @@
|
|||||||
"force-save-revision": "Force creating / saving new note revision of the active note",
|
"force-save-revision": "Force creating / saving new note revision of the active note",
|
||||||
"show-help": "Shows built-in Help / cheatsheet",
|
"show-help": "Shows built-in Help / cheatsheet",
|
||||||
"toggle-book-properties": "Toggle Book Properties",
|
"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": {
|
"login": {
|
||||||
"title": "Login",
|
"title": "Login",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user