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.

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   1287 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');