| Server IP : 213.186.33.4 / Your IP : 216.73.216.222 Web Server : Apache System : Linux webm005.cluster103.gra.hosting.ovh.net 6.18.39-ovh-vps-grsec-zfs+ #1 SMP PREEMPT_DYNAMIC Tue Jul 21 12:03:15 CEST 2026 x86_64 User : karinebmkh ( 644538) PHP Version : 8.4.22 Disable Function : _dyuweyrj4,_dyuweyrj4r,dl MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /home/karinebmkh/www2/wp-content/themes/glaza/assets/js/ |
Upload File : |
(function() {
tinymce.PluginManager.add('glaza_shortcode', function(editor, url) {
editor.addButton('glaza_button_key', {
type: 'listbox',
text: 'Shortcodes',
classes: 'btn ruby-tinymce-dropdown',
icon: false,
onselect: function(e) {
},
values: [
{ text: 'Button', classes: 'ruby_tinymce_dropdown_label' },
{
text: 'Default', onclick: function() {
tinymce.activeEditor.execCommand('mceInsertContent', false, '[button type="default" color="" target="" link=""]' + tinyMCE.activeEditor.selection.getContent() + '[/button]');
}
},
{
text: 'Round', onclick: function() {
tinymce.activeEditor.execCommand('mceInsertContent', false, '[button type="round" color="" target="" link=""]' + tinyMCE.activeEditor.selection.getContent() + '[/button]');
}
},
{
text: '3D', onclick: function() {
tinymce.activeEditor.execCommand('mceInsertContent', false, '[button type="3d" color="" target="" link=""]' + tinyMCE.activeEditor.selection.getContent() + '[/button]');
}
},
{ text: 'Drop cap', classes: 'ruby_tinymce_dropdown_label' },
{
text: 'Default', onclick: function() {
tinymce.activeEditor.execCommand('mceInsertContent', false, '[dropcap type="default"]' + tinyMCE.activeEditor.selection.getContent() + '[/dropcap]');
}
},
{
text: 'Background', onclick: function() {
tinymce.activeEditor.execCommand('mceInsertContent', false, '[dropcap type="background"]' + tinyMCE.activeEditor.selection.getContent() + '[/dropcap]');
}
},
{ text: 'Accordion', classes: 'ruby_tinymce_dropdown_label' },
{
text: 'Accordion group', onclick: function() {
tinymce.activeEditor.execCommand('mceInsertContent', false, '[accordion]' + tinyMCE.activeEditor.selection.getContent() + '[/accordion]');
}
},
{
text: 'Accordion item', onclick: function() {
tinymce.activeEditor.execCommand('mceInsertContent', false, '[accordion-item title=""]' + tinyMCE.activeEditor.selection.getContent() + '[/accordion-item]');
}
},
{ text: 'Column', classes: 'ruby_tinymce_dropdown_label' },
{
text: 'Column Wrapper', onclick: function() {
tinymce.activeEditor.execCommand('mceInsertContent', false, '[row]' + tinyMCE.activeEditor.selection.getContent() + '[/row]');
}
},
{
text: 'Column 1/2', onclick: function() {
tinymce.activeEditor.execCommand('mceInsertContent', false, '[column width="50%"]' + tinyMCE.activeEditor.selection.getContent() + '[/column]');
}
},
{
text: 'Column 1/3', onclick: function() {
tinymce.activeEditor.execCommand('mceInsertContent', false, '[column width="33%"]' + tinyMCE.activeEditor.selection.getContent() + '[/column]');
}
},
{
text: 'Column 2/3', onclick: function() {
tinymce.activeEditor.execCommand('mceInsertContent', false, '[column width="66%"]' + tinyMCE.activeEditor.selection.getContent() + '[/column]');
}
},
{
text: 'Column 1/4', onclick: function() {
tinymce.activeEditor.execCommand('mceInsertContent', false, '[column width="25%"]' + tinyMCE.activeEditor.selection.getContent() + '[/column]');
}
},
{ text: 'Images', classes: 'ruby_tinymce_dropdown_label' },
{
text: 'Fullscreen Image (no sidebar)', onclick: function() {
tinymce.activeEditor.execCommand('mceInsertContent', false, '[fullimg]' + tinyMCE.activeEditor.selection.getContent() + '[/fullimg]');
}
}
]
});
});
})();