• Marco

    (@marcoherzog)


    Hi,

    just started using this plugin. I hope I am not overseeing some settings.

    align-self-rule and CSS custom properties are removed upon save.
    (object-fit gets marked as wrong.)

    Fix would be appreciated. Thanks.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Anonymous User 16270798

    (@anonymized-16270798)

    // $csstidy->parse( $css );
    // $css = $csstidy->print->plain();

    Comment these 2 lines in admincssmu.php

    It will disable invalid css parsing at all, but if you know what you’re doing, you’ll be fine.

    Thread Starter Marco

    (@marcoherzog)

    Thanks for this hint. But I need a more sustainable solution as the adjustment will be reset with an update. E.G. some kind of hook to do this from the theme side.

    Probably the issue is on the CSSTidy side https://github.com/Cerdic/CSSTidy as it states to be only compatible up to CSS3. (Nevertheless, I thought at least the align-self-rule is within CSS3)

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘some valid css gets filtered’ is closed to new replies.