jQuery(document).ready(function(n){tinymce.create("tinymce.plugins.dokan_button",{init:function(t,e){var o=[],a=dokan_assets_url+"/images/D.png";n.each(dokan_shortcodes,function(n,e){var a={text:e.title,onclick:function(){t.insertContent(e.content)}};o.push(a)}),t.addButton("dokan_button",{title:"Dokan shortcodes",classes:"dokan-ss",type:"menubutton",menu:o,style:" background-size : 18px; background-repeat : no-repeat; background-image: url( "+a+" );"})}}),tinymce.PluginManager.add("dokan_button",tinymce.plugins.dokan_button)});