};
/**
- * @class Roo.form.HtmlEditor
- * @extends Roo.form.Field
+ * @class Ext.form.HtmlEditor
+ * @extends Ext.form.Field
* Provides a lightweight HTML Editor component.
*
* This has been tested on Fireforx / Chrome.. IE may not be so great..
initialized : false,
activated : false,
-// onFocus : Roo.emptyFn,
+ onFocus : Roo.emptyFn,
iframePad:3,
hideMode:'offsets',
* Fires when on first focus - needed by toolbars..
* @param {HtmlEditor} this
*/
- firstfocus: true,
- /**
- * @event focus
- * Fires when this field receives input focus.
- * @param {HtmlEditor} this
- */
- focus : true
+ firstfocus: true
});
this.defaultAutoCreate = {
tag: "textarea",
autocomplete: "off"
};
},
-
+
/**
* Protected method that will not generally be called directly. It
* is called when the editor creates its toolbar. Override this method if you need to