marijnh/CodeMirror2 — Issue #224: RTL support
Author: shazdeh
Created: 2011-10-30 16:58:25+00:00
State: open

The CodeMirror works weird on RTL pages because it also behave from right to left. I'm assuming all computer languages are written from left to right, so to make it work on RTL pages, it's required to add this bit to the stylesheet:
.CodeMirror {
direction: ltr !IMPORTANT;
}
Thanks.