I have a community web site and I want that users write
E.g. Google+ and twitter provides such an POST solution.
I want add automatically direction attribute to post when i read it from data base post load in rtl or ltr ! but i don't know how ?!
There is a CSS-only solution:
div {
text-align: start;
unicode-bidi: plaintext;
}
jsFiddle
Unfortunately this solution doesn't work with Microsoft Edge.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With