The code editor will auto focus when you complete a challenge ad move to next one closes #192
parent
1973376496
commit
299f3de311
|
@ -61,6 +61,7 @@ class Editor extends PureComponent {
|
|||
|
||||
editorDidMount(editor, monaco) {
|
||||
this._editor = editor;
|
||||
this._editor.focus();
|
||||
document.addEventListener('keyup', this.focusEditor);
|
||||
this._editor.addAction({
|
||||
id: 'execute-challenge',
|
||||
|
|
Loading…
Reference in New Issue