Wrap gutenberg block ‘div’ in other elements/extra HTML
When registering a block we indicate: an edit property which defines how the block acts/displays in the editor, and a save property which is responsible for the final HTML of the block. To modify these two functions from a block we need to use filter hooks. These hooks just need to be included inside a … Read more