149 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
+6 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.

74 posts
  • Has been part of the Envato Community for over 5 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!

194 posts responsive
  • Elite Author: Sold more than $75,000 on Envato Market
  • Sells items exclusively on Envato Market
  • Made it to the Authors' Hall of Fame
  • Has referred 200+ members
+6 more
ZERGE says

Thanks for your help, Webbu ;)

386 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 4 years
  • Sells items exclusively on Envato Market
+3 more
kaaz says

Thanks Webbu :)

458 posts Yes We Can
  • Has been part of the Envato Community for over 1 year
  • Has referred 100+ members
  • Has sold $250,000+ on Envato Market
  • Has collected 1+ items on Envato Market
+4 more
CRIK0VA says

Thank you very much, Webbu :) Good article.

149 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
+6 more
Webbu says

Happy to help you guys… :)

146 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.

Helpful Information

  • Please read our community guidelines. Self promotion and discussion of piracy is not allowed.
  • Open a support ticket if you would like specific help with your account, deposits or purchases.
  • Item Support by authors is optional and may vary. Please see the Support tab on each item page.

Most of all, enjoy your time here. Thank you for being a valued Envato community member.

Post Reply

Format your entry with some basic HTML. Read the Full Details, or here is a refresher:

<strong></strong> to make things bold
<em></em> to emphasize
<ul><li> or <ol><li> to make lists
<h3> or <h4> to make headings
<pre></pre> for code blocks
<code></code> for a few words of code
<a></a> for links
<img> to paste in an image (it'll need to be hosted somewhere else though)
<blockquote></blockquote> to quote somebody

:grin: :shocked: :cry: Complete List of Smiley Codes

by
by
by
by
by
by