Jump to:

5539 Posts in 1738 Topics by 1224 members

Customising the CMS

SilverStripe Forums » Customising the CMS » Defining TinyMCE Button Behaviour

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

Page: 1
Go to End
Author Topic: 1152 Views
  • Alex S
    Avatar
    Community Member
    30 Posts

    Defining TinyMCE Button Behaviour Link to this post

    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

    1152 Views
Page: 1
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.