There is an RTL issue with the list of keyboard shortcuts in CodeMirror. The direction of the complete shortcut should be forced to ltr. Currently, in right to left languages, it appears as I + CTRL for italic, for example, which is hard to read. The button names are written in English, so the whole thing should appear from left to right in all languages. Technically, adding dir="ltr" to all the <kbd class="cm-mw-keymap-key"> should be enough to resolve this.
The above suggested fix will also fix the appearance of key labels like [, which are flipped in RTL languages. This flipping is misleading—it will expand the code instead of folding it, and vice versa.
Theoretically, this may work incorrectly for some other keys or if some of the key names are ever translated into RLT languages. Practically, however, none of the current keyboard shortcuts will be incorrectly affected, and translating key names into any RTL language is unnecessary. So in practice, the above solution is enough.