CKEDITOR.plugins.add("ipsstockreplies",{requires:"widget",icons:"ipsstockreplies",hidpi:!0,init:function(a){a.widgets.add("ipsstockreplies",{template:"\x3cdiv class\x3d'ipsstockreplies'\x3e\x3c/div\x3e"});a.addCommand("ipsstockreplies",{exec:function(a){var b=$("."+a.id).find(".cke_button__ipsstockreplies");$("#"+b.attr("id")+"_menu").length||($("body").append(ips.templates.render("core.editor.stockReplies",{id:b.attr("id"),editor:a.name})),$(document).trigger("contentChange",[$("#"+b.attr("id")+
"_menu")]),b.ipsMenu({alignCenter:!0,closeOnClick:!1}))}});a.ui.addButton("ipsstockreplies",{label:ips.getString("editorStoredReplies"),command:"ipsstockreplies",toolbar:"insert"})}});