JSON Hero is an open-source, beautiful JSON explorer for the web that lets you browse, search and navigate your JSON files at speed. 🚀. Built with 💜 by the Trigger.dev team.
This PR adds the functionality that if CodeEditor is rendered on screen then Cmd+A/Ctrl+A will select all the text inside CodeEditor.
For this solution I have added a event listener on window. Here a global event listener is the last option. I was not able to find a CodeMirror solution. Even if there is a CodeMirror solution we will need to enable cursor so the user knows when Ctrl+A will work.
This PR adds the functionality that if
CodeEditor
is rendered on screen thenCmd+A/Ctrl+A
will select all the text insideCodeEditor
.For this solution I have added a event listener on
window
. Here a global event listener is the last option. I was not able to find a CodeMirror solution. Even if there is a CodeMirror solution we will need to enable cursor so the user knows whenCtrl+A
will work./claim #162