ExtJS HtmlEditor Example
+++++++++++++++++++++++++++
:Posted: 2007-08-15 14:46
:Tags: JavaScript
ExtJS 1.1 has added a simple WYSIWYG HTML editor. There is an official `example `_ and an `api reference `_ for the HtmlEditor class but not a simple example of how to turn a simple text area into an HtmlEditor so I thought I'd write one.
You need some imports which you'll need to adjust depending on where you install ext-1.1::
Then somewhere in the head or even the body of the HTML add this::
Finally you'll need the form and field which the editor should be applied to::