Cursor - Not Allowed when editor is readOnly


CodeMirror is great tool for highlight, and I am trying to add cursor - not allowed similar to bootstrap so that my application aligns overall.

I would appreciate help ,If someone can point out how to add in codemirror

Application Stack:
Angular 1.4.3 , WebAPI, bootstrap, less, require