I am trying to use CodeMirror as the editor for a field inside a component I am developing. I have specified the editor as
Uncaught ReferenceError: CodeMirror is not defined.
Here is the entry in my form.xml file:
<field name="myfield" type="editor" label="COM_MYCOMPONENT_MYFIELD_LABEL" description="COM_MYCOMPONENT_MYFIELD_DESC" default="" editor="codemirror|none" filter="raw" />