ExtJS HtmlEditor Example

Problem

You want to display a control that allows editing HTML.

Solution

Use the HtmlEditor xtype.



	

Discussion

The HtmlEditor is fairly full featured, and seems to be comparable, if not better than the WordPress HTML Editor control. Many configuration options are included. The HTML value of the contents can be retrieved programmatically, as shown by the sample button code.