141 posts Designer & Developer
  • Elite Author
  • Has been a member for 5-6 years
  • Exclusive Author
  • Sold between 100 000 and 250 000 dollars
  • Referred between 50 and 99 users
  • Bought between 100 and 499 items
  • Author had a File in an Envato Bundle
  • Most Wanted Bounty Winner
  • Envato Studio (Microlancer) Beta Tester
Webbu says

Thanks a lot for this tutorial Webbu

If anyone need shortcode to be inserted directly into the editor without popup can use this code inside plugin.js:

{text: 'Subtitle',onclick:function(){
    editor.execCommand("mceInsertContent", false, '[subtitle]Put Your Tittle Here.[/subtitle]')
}},

Did anybody who tried this fix experienced this bug – when switching between the Visual and Text editor a couple of times in TinyMCE, both toolbars become visible and I can’t access the Text editor, as if the tab button is dead. When I disable the Zilla plugin it goes back to normal…

Any ideas what might be causing this?

I tried the Zilla Shortcodes plugin fix on a fresh install and with Twentyfourteen theme…

Other than this, everything works as it should…
I’m getting the same bug switching between visual and the text editor
The problem is below code:
  tinymce.init({
        selector: ".wp-editor-area",
        toolbar: "shortcodes",
        setup: function(editor) {

            }
)};

check this new plugin.js https://github.com/webbudesign/ZillaShortcodeWP3.9/blob/master/plugin.js

Hope this will solve the problem.

72 posts
  • Bought between 10 and 49 items
  • Exclusive Author
  • Has been a member for 4-5 years
  • Serbia
  • Sold between 50 000 and 100 000 dollars
jezh says

I cannot thank you enough :)

Works great!

189 posts responsive
  • Elite Author
  • Envato Studio (Microlancer) Beta Tester
  • Exclusive Author
  • Sold between 250 000 and 1 000 000 dollars
  • Bought between 50 and 99 items
  • Referred between 200 and 499 users
  • Has been a member for 3-4 years
  • Author had a Free File of the Month
ZERGE says

Thanks for your help, Webbu ;)

369 posts
  • Envato Studio (Microlancer) Beta Tester
  • Sold between 10 000 and 50 000 dollars
  • Most Wanted Bounty Winner
  • Bought between 10 and 49 items
  • Exclusive Author
  • Has been a member for 3-4 years
kaaz says

Thanks Webbu :)

313 posts Yes We Can
  • Bought between 1 and 9 items
  • Elite Author
  • Europe
  • Exclusive Author
  • Football Contest Participant/Runner-up
  • Has been a member for 1-2 years
  • Most Wanted Bounty Winner
  • Referred between 50 and 99 users
  • Sold between 100 000 and 250 000 dollars
CRIK0VA says

Thank you very much, Webbu :) Good article.

141 posts Designer & Developer
  • Elite Author
  • Has been a member for 5-6 years
  • Exclusive Author
  • Sold between 100 000 and 250 000 dollars
  • Referred between 50 and 99 users
  • Bought between 100 and 499 items
  • Author had a File in an Envato Bundle
  • Most Wanted Bounty Winner
  • Envato Studio (Microlancer) Beta Tester
Webbu says

Happy to help you guys… :)

125 posts
  • Bought between 1 and 9 items
  • Exclusive Author
  • Romania
  • Has been a member for 2-3 years
bucur says

very nice of you to help, thanks Webbu.

1 post
  • Bought between 1 and 9 items
  • Has been a member for 6-7 years
jonbolden says

This was very helpful, thank you!

I published the full list of shortcode types with the correct identifiers in tinymce/plugin.js

                {text: 'Alerts',onclick:function(){
                        editor.execCommand("zillaPopup", false, {title: 'Alerts',identifier: 'alert'})
                    }},
                    {text: 'Buttons',onclick:function(){
                        editor.execCommand("zillaPopup", false, {title: 'Buttons',identifier: 'button'})
                    }},
                    {text: 'Columns',onclick:function(){
                        editor.execCommand("zillaPopup", false, {title: 'Columns',identifier: 'columns'})
                    }},
                    {text: 'Tabs',onclick:function(){
                        editor.execCommand("zillaPopup", false, {title: 'Tabs',identifier: 'tabs'})
                    }},
                    {text: 'Toggle',onclick:function(){
                        editor.execCommand("zillaPopup", false, {title: 'Toggle',identifier: 'toggle'})

https://github.com/jonbolden/zilla-shortcodes-wordpess-3.9-fix/blob/master/tinymce/plugin.js
2 posts
  • Bought between 1 and 9 items
  • Has been a member for 2-3 years
ixtract says

Hi there,

thanks a lot! Great help to adjust it. Is it somehow possible to change the type of the button (Splitbutton) to a button containing the titel of the Button as text a width of e.g. 50px?

And is it difficult to change from Zilla shortcodes 1.0 to 2.0 or do you know any tutorial for that, too?

Thanxs a lot for your kind help.

2 posts
  • Bought between 1 and 9 items
  • Has been a member for 2-3 years
ixtract says

Hi there,

thanks a lot! Great help to adjust it. Is it somehow possible to change the type of the button (Splitbutton) to a button containing the titel of the Button as text a width of e.g. 50px?

And is it difficult to change from Zilla shortcodes 1.0 to 2.0 or do you know any tutorial for that, too?

Thanxs a lot for your kind help.

by
by
by
by
by
by