X-Git-Url: http://git.roojs.org/?a=blobdiff_plain;f=roojs-ui-debug.js;h=09b8331f7be26182ef51a449ff8a02332c352208;hb=7191a9a64df4775b1fa5b15bc938e10303c67ace;hp=7e8e6b490f8ebf77a8120b21dbccfe27eb091dd9;hpb=762c7c6b61a22ac08ab3bd2d1f759f70e73bda6d;p=roojs1 diff --git a/roojs-ui-debug.js b/roojs-ui-debug.js index 7e8e6b490f..09b8331f7b 100644 --- a/roojs-ui-debug.js +++ b/roojs-ui-debug.js @@ -23396,6 +23396,37 @@ Roo.extend(Roo.htmleditor.BlockFigure, Roo.htmleditor.Block, { text : "Source: ", xns : rooui.Toolbar //Boostrap? }, + { + xtype : 'Button', + text: 'Edit Src', + name : 'image_src', + + listeners : { + click: function (btn, state) + { + + + Roo.MessageBox.show({ + title : "Image Source URL", + msg : "Enter the url for the image", + buttons: this.OKCANCEL, + fn: function(val){ + block().image_src = val; + block().updateElement(); + syncValue(); + toolbar.editorcore.onEditorEvent(); + }, + minWidth:250, + prompt:true, + //multiline: multiline, + modal : true, + value : block().image_src + }); + } + }, + xns : rooui.Toolbar + }, + { xtype : 'TextField', allowBlank : false,