Add CodeMirror extend