.dir-rtl .CodeMirror { text-align: left; direction: ltr; }