Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

We've moved the forum!

Please use forum.silverstripe.org for any new questions (announcement).
The forum archive will stick around, but will be read only.

You can also use our Slack channel or StackOverflow to ask for help.
Check out our community overview for more options to contribute.

Customising the CMS /

Moderators: martimiz, Sean, Ed, biapar, Willr, Ingo, swaiba

Defining TinyMCE Button Behaviour


Go to End


1761 Views

Avatar
Alex S

Community Member, 30 Posts

20 July 2009 at 1:07am

Hey,

I'm trying to get the wysiwyg editor to be fully functional so that all the buttons do something. I removed the alignment buttons as the drop-downs are now favoured but I'm still left with the Underline and Strikethrough buttons not doing anything. The styles show up in the TinyMCE editor but no HTML is created on the site output so the styles aren't there.

Does anyone know which bit of TinyMCE actually adds the tags based on what button has been pressed? I figure putting a <del> tag in to show a strikethrough and a <span> with associated class for underlining should do the trick. I tried the TinyMCE docs but I couldn't find anything of any use.

Cheers,

Alex