added CodeMirror UI with htmlmixed mode