}
},
-
+
{
xtype : 'Button',
text: 'Hide Caption',
break;
case 'bold':
case 'italic':
+ case 'underline':
// if there is no selection, then we insert, and set the curson inside it..
this.execCmd('styleWithCSS', false);
break;
* Fires when press user pastes into the editor
* @param {Roo.HtmlEditorCore} this
*/
- paste: true
+ paste: true,
+ /**
+ * @event imageadd
+ * Fires when on any editor when an image is added (excluding paste)
+ * @param {Roo.HtmlEditorCore} this
+ */
+ imageadd: true ,
+ /**
+ * @event imagedelete
+ * Fires when on any editor when an image is deleted
+ * @param {Roo.HtmlEditorCore} this
+ */
+ imagedelete: true
});
this.defaultAutoCreate = {
tag: "textarea",