143 posts Designer & Developer
  • Elite Author: Sold more than $75,000 on Envato Market
  • Has been part of the Envato Community for over 5 years
  • Has sold $125,000+ on Envato Market
  • Sells items exclusively on Envato Market
+5 more
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
  • Has been part of the Envato Community for over 4 years
  • Has sold $40,000+ on Envato Market
  • Has collected 10+ items on Envato Market
  • Sells items exclusively on Envato Market
+1 more
jezh says

I cannot thank you enough :)

Works great!

192 posts responsive
  • Has referred 200+ members
  • Has sold $250,000+ on Envato Market
  • Has been a beta tester for an Envato feature
  • Has collected 50+ items on Envato Market
+5 more
ZERGE says

Thanks for your help, Webbu ;)

380 posts
  • Has sold $40,000+ on Envato Market
  • Has been a beta tester for an Envato feature
  • Has been part of the Envato Community for over 3 years
  • Sells items exclusively on Envato Market
+2 more
kaaz says

Thanks Webbu :)

341 posts Yes We Can
  • Has been part of the Envato Community for over 1 year
  • Has referred 50+ members
  • Has sold $125,000+ on Envato Market
  • Has collected 1+ items on Envato Market
+5 more
CRIK0VA says

Thank you very much, Webbu :) Good article.

143 posts Designer & Developer
  • Elite Author: Sold more than $75,000 on Envato Market
  • Has been part of the Envato Community for over 5 years
  • Has sold $125,000+ on Envato Market
  • Sells items exclusively on Envato Market
+5 more
Webbu says

Happy to help you guys… :)

125 posts
  • Has collected 1+ items on Envato Market
  • Sells items exclusively on Envato Market
  • Located in Romania
  • Has been part of the Envato Community for over 2 years
bucur says

very nice of you to help, thanks Webbu.

1 post
  • Has been part of the Envato Community for over 6 years
  • Has collected 1+ items on Envato Market
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
  • Has been part of the Envato Community for over 2 years
  • Has collected 1+ items on Envato Market
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
  • Has been part of the Envato Community for over 2 years
  • Has collected 1+ items on Envato Market
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