Use CodeMirror to edit text fields.