X-Git-Url: http://git.roojs.org/?a=blobdiff_plain;f=roojs-debug.js;h=fe613f9f1e6a92c05f87a8cf5f00698e0043cfc1;hb=refs%2Fheads%2Fwip_leon_T7605_revamp_image_managment_code;hp=c2673fe021cd7a61594f8358b0334ae94c9150b6;hpb=a9d9e421ffd6fcb659ec250ab17f548c93fd04b9;p=roojs1 diff --git a/roojs-debug.js b/roojs-debug.js index c2673fe021..fe613f9f1e 100644 --- a/roojs-debug.js +++ b/roojs-debug.js @@ -48496,7 +48496,7 @@ Roo.extend(Roo.htmleditor.BlockFigure, Roo.htmleditor.Block, { } }, - + { xtype : 'Button', text: 'Hide Caption', @@ -50846,6 +50846,7 @@ Roo.extend(Roo.HtmlEditorCore, Roo.Component, { 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; @@ -51835,7 +51836,19 @@ Roo.extend(Roo.form.HtmlEditor, Roo.form.Field, { * 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",