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

HTMLEditorField stripping CSS tags


3 Posts   793 Views


30 January 2011 at 3:02am Community Member, 5 Posts

I am trying to put a table in the CMS and its stripping out the tags. us there any way to stop Silverstripe stripping these tags ?

If I use a Text Field it will won't strip anything out but wont be an easy to edit table....

Any help be much appreciated !


1 February 2011 at 2:37pm Community Member, 395 Posts

check this and see whether if will help you?

I think if you can go through the codes of the CMS and sapphire you will find some way to do this.


1 February 2011 at 10:03pm Community Member, 5 Posts


This helps if you put in the config.php
HtmlEditorConfig::get('cms')->setOption('verify_html', false);

Or go into the HtmlEditorConfig.php file and set it from true to false.