CodeMirror update and adapt styling to v3