Please upgrade here. These earlier versions are no longer being updated and have security issues.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.
['SafeStyles'] = FALSE;
![Dr_Sommer](https://us.v-cdn.net/5018160/uploads/userpics/873/nQU7V8EY2V8TL.png)
Hi there...
To let my users choose awkward styles and font sizes, I have to switch Safestyles off in config.php:
$Configuration['Garden']['Html']['SafeStyles'] = FALSE;
But every time I change something in the Dashboard it turns to "TRUE"...
Sometimes I have the feeling it changes without me doing anything... Potter is messing with me...
Is there a way to make this unchangeable like the Rest of the Config.php File Entrys??
ThX
0
Comments
It's not safe to do that. It's being forcibly enabled for a reason.
You'd need to make a plugin that sets the setting to FALSE in memory -
SaveToConfig('Garden.Html.SafeStyles', false, false);
- to accomplish this, but I strongly recommend against it.The editor in 2.2 should allow you any weird font combo you want, but safely.
ThX, Linc...![;) ;)](https://open.vanillaforums.com/plugins/emojiextender/emoji/little/wink.png)
![:D :D](https://open.vanillaforums.com/plugins/emojiextender/emoji/little/grin.png)
![:D :D](https://open.vanillaforums.com/plugins/emojiextender/emoji/little/grin.png)
![:D :D](https://open.vanillaforums.com/plugins/emojiextender/emoji/little/grin.png)
![:D :D](https://open.vanillaforums.com/plugins/emojiextender/emoji/little/grin.png)
Aaaand again waiting for the next Major release...
I'm soooo exited bout that new Editor... hope it also cooks and cleans my room... hehe...