Jump to:

5513 Posts in 1732 Topics by 1218 members

Customising the CMS

SilverStripe Forums » Customising the CMS » Adding a class to a table through the cms

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

Page: 1
Go to End
Author Topic: 876 Views
  • Phill
    Avatar
    Community Member
    75 Posts

    Adding a class to a table through the cms Link to this post

    Hi im working on a site where i need to allow the user to apply a class to a table through the cms but i cant work out how to add an option in the class drop down.

    I've looked through HtmlEditorField.php and the tinymce table files but couldnt find it there any ideas what i need to do?

    thanks

  • Aram
    Avatar
    Community Member
    598 Posts

    Re: Adding a class to a table through the cms Link to this post

    Hi Phill

    You just need to add the class to your typography.css. You should also have an editor.css which imports the typography styles into tinyMCE.

    Aram

    876 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.