diff --git a/services/web/frontend/js/features/source-editor/extensions/keybindings.ts b/services/web/frontend/js/features/source-editor/extensions/keybindings.ts index 02544251e1..26743a8939 100644 --- a/services/web/frontend/js/features/source-editor/extensions/keybindings.ts +++ b/services/web/frontend/js/features/source-editor/extensions/keybindings.ts @@ -198,6 +198,10 @@ export const keybindings = () => { export const setKeybindings = async ( selectedKeybindings = 'default' ): Promise => { + if (selectedKeybindings === 'none') { + selectedKeybindings = 'default' + } + const selectedOption = options.find( option => option.name === selectedKeybindings )