I want to add a simple button to the WYSIWYG editor in Wordpresss, that wraps the selected text in a particular style (ie applies a span tag to it, with a class of say 'mp3link')
I'm found a TinyMCE plugin called tinyMCE div and have downloaded it and put into the TinyMCE plugins folder.
Now I'm trying to initiate this using my own plugin - but don't understand the syntax for the 'tinymce_plugins' action in Wordpress.
I know that I'm way off, but I'm using the code below for my plugin, how should I be doing it?
add_action('tinymce_plugins', 'add_divselect_to_tinyMCE'); function add_divselect_to_tinyMCE() { plugins = new Array("divselect"); return plugins; }'