code_edit: add CodeMirror init