Apparently they have upgraded TinyMCE with wordpress 3.1. The problem is, the standard form to add buttons in the HTML view of the editor has changed.
edButtons[edButtons.length] = new edButton('dd_one', 'one', '[one] ', ' [/one] ', '' );
Doesn’t seem to work anymore.
Anyone has gotten any info on that?
Just add your custom quicktags script by wp_enqueue_script() function with dependencies on quicktags script.
wp_enqueue_script('custom_quicktags', get_template_directory_uri() .'/functions/shortcodes/quicktags.js', array('quicktags'), '1.0);
I’ll try that. Thanks!
- 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.