NEW_CKEDITOR.dialog.add("easyimageAlt",(function(t){return{title:t.lang.easyimage.commands.altText,minWidth:200,minHeight:30,getModel:function(){var e=t.widgets.focused;return e&&"easyimage"==e.name?e:null},onOk:function(){var e=NEW_CKEDITOR.tools.trim(this.getValueOf("info","txtAlt")),a=this.getModel(t);a&&a.parts.image.setAttribute("alt",e)},onShow:function(){var e=this.getContentElement("info","txtAlt"),a=this.getModel(t);a&&e.setValue(a.parts.image.getAttribute("alt")),e.focus()},contents:[{id:"info",label:t.lang.easyimage.commands.altText,accessKey:"I",elements:[{type:"text",id:"txtAlt",label:t.lang.easyimage.commands.altText}]}]}}));