I am looking for the most elegant solution for putting both rtl and ltr languages together in a textarea: e.g. arabic and html together.
The standards say not to create it using css:
direction: rtl;
unicode-bidi: embed;
This does not work for me anyway, as the html has the nested text problem. Arabic is aligned to the right but the html is broken.
Is there a way to dynamically do this? The standard wants to add a nested span tag but since a user is dynamically typing this in I don't see how that's possible without detecting the end of each character.