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're retiring the forums!

The SilverStripe forums have passed their heyday. They'll stick around, but will be read only. We'd encourage you to get involved in the community via the following channels instead:

Customising the CMS /

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

Adding a class to a table through the cms

Go to End

2 Posts   1140 Views


Community Member, 81 Posts

6 June 2009 at 2:09am

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?


Carbon Crayon

Community Member, 598 Posts

7 June 2009 at 2:12pm

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.