mirror of
https://github.com/ansible/awx.git
synced 2026-02-28 08:18:43 -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) {
|
if (!editorInput) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
editorInput.focus();
|
event.preventDefault();
|
||||||
event.stopPropagation();
|
event.stopPropagation();
|
||||||
|
editorInput.focus();
|
||||||
}
|
}
|
||||||
}, []);
|
}, []);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user