5121 Posts in 1527 Topics by 1119 members
|
Page:
1
|
Go to End | |
| Author | Topic: | 630 Views |
-
HTMLEditorField stripping CSS tags

30 January 2011 at 3:02am
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 !
-
Re: HTMLEditorField stripping CSS tags

1 February 2011 at 2:37pm
check this http://api.silverstripe.org/trunk/forms/fields-formattedinput/HtmlEditorConfig.html 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.
-
Re: HTMLEditorField stripping CSS tags

1 February 2011 at 10:03pm
Thanks,
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.
| 630 Views | ||
|
Page:
1
|
Go to Top |


