23377 Posts in 18296 Topics by 2867 members
|Go to End|
5 October 2012 at 5:19pm
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?
5 October 2012 at 8:10pm
Yes, you can set the currently active HtmlEditorConfig (e.g https://github.com/fullscreeninteractive/silverstripe-jobboard/blob/master/code/Job.php#L98)
5 October 2012 at 9:07pm
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.
|Go to Top|