Add CodeMirror editor