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
I know that I’m way off, but I’m using the code below for my plugin, how should I be doing it?
plugins = new Array(“divselect”);
Thanks for your time.
- The topic ‘Add custom button to TinyMCE?’ is closed to new replies.