jaredreich / pell

📝 the simplest and smallest WYSIWYG text editor for web, with no dependencies
MIT License
11.96k stars 549 forks source link

LTR/RTL Support #117

Open TheHolyWaffle opened 6 years ago

TheHolyWaffle commented 6 years ago

RTL (Right-To-Left) support is quite necessary when using the editor to write in languages such as hebrew or arabic. A simple text alignment right does not result in the same effect.

https://www.w3schools.com/tags/att_global_dir.asp

Preferrably, buttons to switch text direction to LTR or RTL is what is needed here.

jaredreich commented 6 years ago

Interesting issue. This seems extremely non-standard. Have any examples other native web elements that allow RTL support?

TheHolyWaffle commented 6 years ago
jaredreich commented 6 years ago

@TheHolyWaffle thanks for the info. If this is necessary for you, feel free to submit a PR!

amireldor commented 6 years ago

Please make this a per-paragraph feature. Having this affect the whole text is not fun for us RTL'ers (imagine including a code section).