Added CodeMirror attributes, docs