CodeMirror as code editor