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.

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