Support » Plugin: Gutenberg » Disable warning ‘This block contains unexpected or invalid content’ in html bloc

  • Firstly, I really, really like Gutenberg!
    I think it’s a great improvement & love the direction of travel.

    I have been using the html block to wrap multiple blocks in a div.
    The editor allows allows this approach:
    e.g.
    (see: https://therealolivecompany.co.uk/gutenberg-help/ )

    When revisiting this page a warning is (unsurprisingly?) prompted:
    e.g.
    (see link above)

    I’d like to hand over these pages to the author/editor without these warnings.
    Can I disable them?
    Are there issues that I’m missing why it’s not ok to use the html block to add unclosed/unopened tags??

    many thanks

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • Sounds like there was a change on the block… Try to bring a new “same” block inside. If it works, they changed something so thats why you got this error.

    I’m trying to do the same thing at the moment. I want to wrap some blocks into a section by using the html-Blocks, but the editor seems to check html structure and gives a warning when reloading. The html is the same but I always have to revert block to html block… is there a way to disable that warning / check?

    I would like to know this as well.

Viewing 3 replies - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.