| Server IP : 104.21.20.151 / Your IP : 216.73.216.217 Web Server : Apache System : Linux sr32.hostlife.net 6.12.0-124.52.3.el10_1.x86_64 #1 SMP PREEMPT_DYNAMIC Sat May 2 09:06:54 EDT 2026 x86_64 User : golfb689 ( 1071) PHP Version : 7.4.33 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /proc/thread-self/cwd/wp-content/plugins/ultimate-tinymce/addons/shortcodes/ |
Upload File : |
(function() {
// tinymce.PluginManager.requireLangPack('shortcodes');
tinymce.create('tinymce.plugins.ShortcodesPlugin', {
init : function(ed, url) {
ed.addCommand('mceShortcodes', function() {
ed.windowManager.open({
file : url + '/shortcodes.php',
width : 320 + ed.getLang('shortcodes.delta_width', 0),
height : 600 + ed.getLang('shortcodes.delta_height', 0),
inline : 1
}, {
plugin_url : url,
some_custom_arg : 'custom arg'
});
});
ed.addButton('shortcodes', {
title : ed.getLang('shortcodes.desc'),
cmd : 'mceShortcodes',
//image : url + '/img/shortcodes.gif'
});
},
createControl : function(n, cm) {
return null;
},
getInfo : function() {
return {
longname : 'Shortcodes plugin',
author : 'Josh Lobe',
authorurl : 'http://joshlobe.com',
infourl : 'http://plugins.joshlobe.com',
version : "1.0"
};
}
});
tinymce.PluginManager.add('shortcodes', tinymce.plugins.ShortcodesPlugin);
})();