Custom Textarea for right to left languages
I need a custom text area inside which when the keyboard Enetr key is pressed sould insert new from right to left. and when bac开发者_如何转开发k space is clicked at the beginning of that line shuold remove that line.
Use dir="rtl"
in the tag?
You can also use the CSS direction property, direction: rtl;
.
After reading your comment to digitalFresh... Here's the solution you're looking for:
<textarea style="text-align: right;"></textarea>
精彩评论