diff --git a/services/web/frontend/js/features/pdf-preview/hooks/use-compile-triggers.js b/services/web/frontend/js/features/pdf-preview/hooks/use-compile-triggers.js index e7dd52fcaf..784dcb4007 100644 --- a/services/web/frontend/js/features/pdf-preview/hooks/use-compile-triggers.js +++ b/services/web/frontend/js/features/pdf-preview/hooks/use-compile-triggers.js @@ -12,11 +12,21 @@ export const startCompileKeypress = event => { if (event.key === 's' || event.key === 'Enter' || event.key === '.') { return true } + + // Ctrl+s with Caps-Lock on + if (event.key === 'S' && !event.shiftKey) { + return true + } } else if (event.metaKey) { // Cmd+s / Cmd+Enter if (event.key === 's' || event.key === 'Enter') { return true } + + // Cmd+s with Caps-Lock on + if (event.key === 'S' && !event.shiftKey) { + return true + } } }