Hi folks,
I want to add a simple button to the WYSIWYG editor 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 from http://tincan.co.uk/?lid=1624 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.
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;
}'
Thanks for your time.