PATH:
home
/
letacommog
/
www
/
wp-content
/
plugins
/
popup-maker
/
assets
/
js
(function ($, tinymce) { "use strict"; // Failsafe in case variables were not properly declared on page. if (typeof pum_shortcode_ui_vars === 'undefined') { return; } tinymce.PluginManager.add('pum_shortcodes', function (editor) { var shortcodes = pum_shortcode_ui_vars.shortcodes || {}, menuItems = []; _.each(shortcodes, function (args, tag) { menuItems.push({ text: args.label, value: tag, onclick: function () { var values = {}, shortcode, text = "[" + tag + "]", options = {}; if (args.has_content) { text += editor.selection.getContent() + "[/" + tag + "]"; } shortcode = wp.mce.views.get(tag); options.text = text; options.encodedText = encodeURIComponent(text); shortcode = new shortcode(options); shortcode.renderForm(values, function (content) { send_to_editor(content); }); } }); }); editor.addButton('pum_shortcodes', { type: 'menubutton', icon: 'pum_shortcodes', tooltip: pum_shortcode_ui_vars.I10n.shortcode_ui_button_tooltip || '', menu: menuItems }); }); }(jQuery, tinymce || {}));
[+]
..
[-] iframeResizer.min.js
[edit]
[-] popup-maker-easy-modal-importer-site.js
[edit]
[-] admin-settings-page.min.js
[edit]
[-] admin-batch.min.js
[edit]
[-] admin-marketing.min.js
[edit]
[-] admin-deprecated.min.js
[edit]
[-] admin-general.min.js
[edit]
[-] admin-deprecated.js
[edit]
[-] admin-theme-editor.min.js
[edit]
[-] site.js
[edit]
[-] mobile-detect.js
[edit]
[-] popup-maker-easy-modal-importer-site.min.js
[edit]
[-] admin-general.js
[edit]
[-] admin-theme-editor.js
[edit]
[-] mce-buttons.js
[edit]
[-] mobile-detect.min.js
[edit]
[-] admin-popup-editor.js
[edit]
[-] admin-marketing.js
[edit]
[-] admin-settings-page.js
[edit]
[-] admin-shortcode-ui.js
[edit]
[-] admin-popup-editor.min.js
[edit]
[-] site.min.js
[edit]
[-] admin-shortcode-ui.min.js
[edit]
[-] mce-buttons.min.js
[edit]
[-] iframeResizer.js
[edit]
[-] admin-batch.js
[edit]