-
Notifications
You must be signed in to change notification settings - Fork 1.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Handling bi-directional text RTL mixed with LTR #1586
Comments
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"... |
Hi @smhnfreelancer, so in general, is it working with RTL? |
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:
1- Why words are shuffled when I insert English words in any Arabic/Urdu/Persian text on Notepad or MS Word?
2 - Handling bi-directional text in Memsource Editor for Web
The text was updated successfully, but these errors were encountered: