CodeMirror live previews on edit