CodeMirror 3.x -> 4.0
Fix preview