Handling bi-directional text RTL mixed with LTR
smhnfreelancer opened this issue · 3 comments
Description
Handling right-to-left/left-to-right override characters in user input
[Description of the bug or feature]
I think there is a missing feature, in the editor, it's called Right to Left embedding,
you need to insert "#x202b;" character, to mix RTL Text with LTR, sometimes it's really necessary for RTL languages,
you can refer to some articles below:
2 - Handling bi-directional text in Memsource Editor for Web
This is how it works in Medium editor, note that after typing "English", I switched the keyboard language to Farsi(Persian), still, it's not working like Microsoft word, as desired, and English words will type in LTR format, please note that when you are typing English words in the middle of Farsi, if you didn't switch to Farsi, after typing the word "English", and hit the SPACE the next word "vocabulary" will be in the LTR direction order, But if you switch the language to Farsi, after typing the word "English", and hit the SPACE, the desired result will be like this "Vocabulary English"...
AND THE TRUE AND FAMILIAR LOOKS, is what Microsoft word is capable of, which is missing in the medium editor
Hi @smhnfreelancer,
so in general, is it working with RTL?