Using CodeMirror (readonly and editable code)