• JJ

    (@jjtristargroup)


    Hi,

    In the latest version of Gutenberg (11.4.0) there are a bunch of <style>-elements being added below the content in the body. They seem to contain styling for group blocks.
    They’re targeting blocks with a random string of characters as class, example:
    .wp-container-612f82c7bafce

    But seeing how this is a mark-up error (according to the W3C validator) I’ve rolled back the update. (W3C validator: https://validator.w3.org/)

    I assume this is a new way of adding the CSS to certain blocks, but shouldn’t these style blocks be added to the head?

    Example: https://i.imgur.com/44HUcPH.png

    Kind regards,
    Jan

The topic ‘Style-elements in body’ is closed to new replies.