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.
Options

['SafeStyles'] = FALSE;

Dr_SommerDr_Sommer Dr. of tender Programing ;) ✭✭

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"... :open_mouth:
Sometimes I have the feeling it changes without me doing anything... Potter is messing with me... :D:D:D

Is there a way to make this unchangeable like the Rest of the Config.php File Entrys??

ThX :D

Comments

  • Options
    LincLinc Detroit Admin
    edited March 2015

    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.

  • Options
    Dr_SommerDr_Sommer Dr. of tender Programing ;) ✭✭

    ThX, Linc... ;)
    Aaaand again waiting for the next Major release... :D:D
    I'm soooo exited bout that new Editor... hope it also cooks and cleans my room... hehe... :D:D

Sign In or Register to comment.