cben / mathdown

Collaborative markdown with math
https://www.mathdown.net
Other
419 stars 46 forks source link

Support RTL text #23

Open cben opened 11 years ago

cben commented 11 years ago

Codemirror supports bidi well enough, but all lines are left-aligned. Want gedit-like automatic paragraph direction. (for starters, per-line direction would be good.)

cben commented 10 years ago

After some attempts to actually edit Hebrew, CodeMirror is pretty bad. Even stuff like selecting a full line with keyboard is impossible for some RTL/LTR mixes. And sometimes CM just hangs.

Anyway, I'm not able to address this in the foreseeable future.

cben commented 9 years ago

Some RTL/numbers mixes make it impossible to navigate by arrows or select whole line from keyboard. I really should file CM bugs, but for now disabling http://codemirror.net/doc/manual.html#option_rtlMoveVisually should be an easy improvement.

cben commented 9 years ago

CM's summer-of-code on bidi made great progress; it hasn't landed yet, but I'm comfortable switching to the expirimental branch.

cben commented 9 years ago
cben commented 6 years ago

Codemirror master has grown decent RTL support! https://codemirror.net/demo/bidi.html No more excuses, time to upgrade CodeMirror. (I'd long ago decided it's worth upgrading even if it would break RTL, really I was just lazy...)