Wrapper of CodeMirror