PluginProbe
Themify Event Post / trunk
Themify Event Post vtrunk
1.3.7 trunk 1.3.2 1.3.3 1.3.4 1.3.5 1.3.6
themify-event-post / assets / tinymce.js

tinymce.js in Themify Event Post trunk, at assets/tinymce.js

1 lines 714 B
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 !function($){"use strict";"object"==typeof themifyEventPostsMCE&&($('<script type="text/html" id="tmpl-themify-event-post-shortcode">'+themifyEventPostsMCE.template+"</script>").appendTo("body"),tinymce.PluginManager.add("btnthemifyEventPosts",(function(t,e){t.addButton("btnthemifyEventPosts",{title:themifyEventPostsMCE.labels.menuName,onclick(){var e=[];jQuery.each(themifyEventPostsMCE.fields,((t,o)=>{"colorbox"==o.type&&(o.onaction=createColorPickAction()),e.push(o)})),t.windowManager.open({title:themifyEventPostsMCE.labels.menuName,body:e,onSubmit(e){var o=this.toJSON();o.selectedContent=t.selection.getContent();var i=wp.template("themify-event-post-shortcode");t.insertContent(i(o))}})}})})))}(jQuery);