Fix CodeMirror creation, the editor now lives in content scope