jQuery(document).ready(function(t){var wpzinc_tags=function(){t("body").unbind("change.wpzinc-tags").on("change.wpzinc-tags","select.wpzinc-tags",function(n){var a=t(this).val(),e=t(this).data("element"),i=t(e);if(i.length>1){i=t(e,t(this).parent().parent())}var s=t(i).val();if(t(i).hasClass("tmce-active")){}else{var c=t(i)[0].selectionStart;if(c>0){a=" "+a}t(i).val(s.substring(0,c)+a+s.substring(c))}})};wpzinc_tags()});