CodeMirror upgrade