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