This Block Contains Unexpected or Invalid Content: How to Fix It in Gutenberg?
Let’s get straight to it.
If you’re working in the block-based WordPress Gutenberg editor, you might have experienced this error after updating and saving changes in a previously used block:
“This block contains unexpected or invalid content”
This issue occurs when the current HTML structure of the block doesn’t correspond with the previously saved version in the block editor. You may not realize that the initial block markup or attributes were modified and you are using the old version of the block.
Continue reading “This Block Contains Unexpected or Invalid Content: How to Fix It in Gutenberg?”