Fixed: auto format text in CodeMirror in model box