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

Adding a class to a table through the cms


Go to End


2 Posts   1352 Views

Avatar
Phill

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?

thanks

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

Aram