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.

One Reply to “ExtJS HtmlEditor Example”

Leave a Reply

Your email address will not be published. Required fields are marked *