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:

General Questions /

General questions about getting started with SilverStripe that don't fit in any of the categories above.

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

Disable html filtering


Go to End


4 Posts   1224 Views

Avatar
jonathan323

Community Member, 2 Posts

19 February 2010 at 6:59am

Every time I try to enter my own html it gets filtered out. Is there any way to disable this?

Avatar
Willr

Forum Moderator, 5523 Posts

19 February 2010 at 9:05am

I think you can disable it fully via verify_html - http://doc.silverstripe.org/doku.php?id=htmleditorconfig.

Avatar
jonathan323

Community Member, 2 Posts

19 February 2010 at 1:52pm

How do I use it?

Avatar
Willr

Forum Moderator, 5523 Posts

20 February 2010 at 1:54pm

You add the following line to the mysite/_config.php file. I'll update the docs to make this clearer.

HtmlEditorConfig::get('cms')->setOption('verify_html', 'false');