• Hello everyone

    I went back to an older site, and the block editor styles aren’t working. The above error occurs and it appears it fails here.

    font-size: font-size: clamp(3rem, 2.2188rem + 2.5vw, 3.625rem);;

    The thing is if i disabled the plugins for :
    – mailchimp
    – forminator
    – smash balloon

    it works and doesn’t have this error. But if i enable any one of those it returns.

    I’ve validated my theme.json, disabled all custom css etc. Anyone have any ideas? This was 100% working and it seems since the last update its doing it.

    Thank you
    tom.

Viewing 1 replies (of 1 total)
  • This is very curious.

    For fun, I created a few tests locally for transformStyles in its test suite using some of these fluid font sizes, and the results were as expected. That is, no duped properties or semi-colons.

    It’s hard to know what the other plugins are doing, unless they’re also importing the block editor package and it’s somehow being overwritten on the window object?

Viewing 1 replies (of 1 total)
  • The topic ‘wp.blockEditor.transformStyles Failed to transform CSS’ is closed to new replies.