I had a good look around for a shortcode generator plugin which automatically hooks into the default WYSIWYG editor.
It should be able to automatically generate the respective forms & popups to configure each shortcode.
Ideally, I am looking for something that can be configured via PHP like so (pseudo example):
$shortcodes = array( 'name' => 'Button', 'options' => array( 'color' => array( 'name' => 'Colour', 'type' => 'colorpicker', 'default' => '#fff' ), 'target' => array( 'name' => 'Target', 'type' => 'select', 'options' => array('_blank' => 'New Window', '_parent' => 'Parent', [...]), 'default' => '_blank' ) ) );
According to the above, a dropdown would be added to TinyMCE with labels for each shortcode; and, upon clicking it, a popup allows the user to add her/his options as per the configuration (much like SMOF – just for shortcodes). In practice, of course, this would be a bit more advanced to allow for nested shortcodes such as accordions and tab-panels.
Anyhow, I just thought I’d check in case somebody knows of a plugin like this. Otherwise, I will look into creating one from scratch.
Do you mean something like this?
- 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.