Current YAMLEditor also supports other languages like JSON. Therefore need to rename the component.
openshift/console#12708: ODC-7296: Rename all instances of YAMLEditor to CodeEditor