added support for the ckeditor readonly mode
upgraded to CodeMirror 3.12