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.

General Questions

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

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

Individual TinyMCE configuration


Reply

3 Posts   430 Views

Avatar
n0ne

5 October 2012 at 5:19pm Community Member, 18 Posts

Is there a way to set HtmlEditorConfig individually? For eg. I have a page where I want to disable buttons like flash, images etc... but only for this particular page type only. Is there a way to do that?

Avatar
Willr

5 October 2012 at 8:10pm Forum Moderator, 5511 Posts

Yes, you can set the currently active HtmlEditorConfig (e.g https://github.com/fullscreeninteractive/silverstripe-jobboard/blob/master/code/Job.php#L98)

Avatar
n0ne

5 October 2012 at 9:07pm Community Member, 18 Posts

Hmmm... it doesn't seems to work properly I think it's a bug.
Ok, so the problem is that when you go from one page to another the config seems to be cacheo somehow, only after refreshing the page it loads the correct one.

That's happening in 3.01.