diff --git a/src/JSONEditor.svelte b/src/JSONEditor.svelte index 419c9b4..d1f2e97 100644 --- a/src/JSONEditor.svelte +++ b/src/JSONEditor.svelte @@ -424,6 +424,10 @@ event.preventDefault() handlePaste() } + if (combo === 'Escape') { + event.preventDefault() + selection = null + } } if (combo === 'Ctrl+F' || combo === 'Command+F') {