Gutenberg: Block validation fails if editor is reloaded or post is edited. data.getBlocks(); is empty in save function
Put simply, your block misbehaves. Given a set of parameters, the block should always give you the same result. The editor uses this as a check, and if the result does not match, then something is wrong and the blocks implementation has a bug. In your blocks case, this is because when generating the markup, … Read more