Redactor.add("plugin","fontsize",{translations:{en:{size:"Size","remove-size":"Remove Font Size"}},init:function(i){this.app=i,this.lang=i.lang,this.inline=i.inline,this.toolbar=i.toolbar,this.sizes=[10,11,12,14,16,18,20,24,28,30]},start:function(){for(var i={},t=0;t<this.sizes.length;t++){var e=this.sizes[t];i[t]={title:e+"px",api:"plugin.fontsize.set",args:e}}i.remove={title:this.lang.get("remove-size"),api:"plugin.fontsize.remove"};var s=this.toolbar.addButton("fontsize",{title:this.lang.get("size")});s.setIcon('<i class="re-icon-fontsize"></i>'),s.setDropdown(i)},set:function(i){var t={tag:"span",style:{"font-size":i+"px"},type:"toggle"};this.inline.format(t)},remove:function(){this.inline.remove({style:"font-size"})}});