I wonder if it is possible to make textarea contain multiple lines with different alignments using JavaScript. Something like that:
Asked
Active
Viewed 74 times
0
-
http://stackoverflow.com/questions/2034191/html-javascript-rich-text-box-ide – Joe Jul 08 '11 at 17:06
2 Answers
0
Using some sort of wysiwyg editor might get you where you want to go.

Naftali
- 144,921
- 39
- 244
- 303
-
I don't really want an entire WYSIWYG editor. I want this particular function implemented within regular textarea. – uiuidjjdj Jul 08 '11 at 17:19
-
-
Well it's really easy to manually add some button however i actually need this for automatic alignment swap when you type in different languages. I really don't ask a code or something, just point me how can i take particular line inside the textarea and change it's alignment. That's all. – uiuidjjdj Jul 08 '11 at 17:26
0
I would just customize TinyMCE
Example here: http://www.midgard-project.org/documentation/customizing-tinymce-editor/

two7s_clash
- 5,755
- 1
- 27
- 44