so I’ve got this challenge: I want to incorporate a custom shortcode into the TinyMCE editor (visual editor). This is all very simple to achieve. However, what if the shortcode has several attributes?
Consider this example:
[button color=blue type=round last=yes]My Button[/button].
Is it possible to do this? I have only done it with single-attribute shortcodes. Any hints/ideas would be greatly appreciated.
Hey, thanks for the reply. But I am still wondering if anybody had already done this. I mean, I imagine all themes that offer tons of shortcodes (which are implemented in the visual editor) also have several attributes.
Either way, I’ll look for more TinyMCE-related threads. Thanks!
Id suggest you buy a theme here and learn it or just create your own shortcode generator like me.