I opened an issue here for this: https://github.com/Pita/etherpad-lite/issues/256
Ideally we would detect if the browser is set to RTL and apply based on that, adding a button to the toolbar is a bodge fix. I will put a temporary fix in that will allow you to pass a parameter for RTL. This will take a few hours to do.
Can you sign up for github please and test it when I publish a fix?
I do not think we should trust the browser. since i am not sure most of the users know that they can set their preferred language with the browser. plus, i we better leave this decision in the hand of the users.
A RTL / LTR button is very easy to develop. i suppose.
It's good enough to let the user switch manually to the writing direction he/she prefers. i think.
Just to make sure we are talking on the same thing, i am referring to CSS direction:rtl; and direction:ltr; for the entire example:
Some RTL text in Arabic or Hebrew
And not justifing of text to right or left : text-align:right; or text-align:left;
Hi nadavkav, as this is very easy to develop, I will leave this to you, you can contribute the patch when you are done here: http://github.com/Pita/etherpad-lite/
That is a great video and an excellent new feature.
Lucky me, i was so busy with other coding that i did not have the time to even look or dig into this, Since it would have taken me much more time then it took you to solve this.
( I know, now )