PDA

View Full Version : does the textarea component support html?



superbinary
24 Jul 2010, 6:20 AM
i just wonder: does the textarea component support html?

like this:

var myTextArea.htmlText='<u>abc</u>';
which will display like abc

thanks.

Animal
24 Jul 2010, 6:35 AM
It's a <textarea> HTML input field. Do they support it?

http://www.sencha.com/deploy/dev/docs/?class=Ext.form.HtmlEditor

superbinary
25 Jul 2010, 6:53 AM
thanks very much.
what i want is just like the "textarea" in flex.
it looks like not easy to cutomize the htmleditor, e.g. hide the toolbar on the htmleditor.
i used the flex at last to solve it.

Animal
25 Jul 2010, 7:32 AM
I think you can hide the toolbar.