I've customized tinymce with some custom styles and enabled the style drop down menu. For example, there's a custom style called "red highlight" that applies the style "redhighlight".
My goal is to apply this style to some links. So if I create my content and highlight an entire link and apply the style, the wysiwyg window flashes, as if something has happened, but when I turn off the wysiwyg the source hasn't changed.
If instead I highlight only a small portion of the linked text and apply the style it works by putting a
<span class="redhighlight"></span> tag around the selected portion.
Another example of something that won't work is if I click a tag in the "path" status bar at the bottom of the wysiwyg and apply a style. It seems that no matter what, if I select an entire tag this process fails.
Any suggestions for making this work? I've tried it with tiny mce versions 2.0.9 and 2.1.0.