The block wrapper

Each block’s markup is wrapped by a container HTML tag that needs to have the proper attributes to fully work in the Block Editor and to reflect the proper block’s style settings when rendered in the Block Editor and the front end. As developers, we have full control over the block’s markup, and WordPress provides the tools to add the attributes that need to exist on the wrapper to our block’s markup.

This post was originally published on Make Documentation by .

Follow us

Don't be shy, get in touch. We love meeting interesting people and making new friends.