Text format and HTML code (TextField vs TextArea)
I have used a TextField and formated the text inside with setTextFormat, but when I watch the htmlText field I see no html tags. But if I use the TextArea component I can see the html code in the text field but I cannot format the text with setTextFormat.
I need to format the text (like a rich edit component with bold, italic, underline buttons, etc) and send the html code result (a XML post, for example).
How can I give format to a TextArea? Why I cannot see the html tags in the htmlText field of TextField? Ideas? Thanks!