(function(){tinymce.create("tinymce.plugins.FEIconCodePlugin",{init:function(e,t){e.addCommand("feInsertCode",function(){e.focus();e.selection.setContent("[code]<br/>"+e.selection.getContent()+"<br/>[/code]")});e.addButton("qacode",{title:qa_front.texts.insert_codes,icon:"wp_code",cmd:"feInsertCode"})},getInfo:function(){return{longname:"FE Insert Code",author:"thaint",version:"0.0.1"}}});tinymce.PluginManager.add("qacode",tinymce.plugins.FEIconCodePlugin)})()