mirror of
https://github.com/ansible/awx.git
synced 2026-02-17 03:00:04 -03:30
CodeEditor: don't type newline when pressing enter to start edit mode
This commit is contained in:
@@ -90,8 +90,9 @@ function CodeEditor({
|
||||
if (!editorInput) {
|
||||
return;
|
||||
}
|
||||
editorInput.focus();
|
||||
event.preventDefault();
|
||||
event.stopPropagation();
|
||||
editorInput.focus();
|
||||
}
|
||||
}, []);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user