How to add an HTML wrapper to a custom Block Pattern

22/07/2021

Listen "How to add an HTML wrapper to a custom Block Pattern"

Episode Synopsis

Block patterns are registered with: If we wrap the …pattern… with a div tag: it will show up as a classic block in the editor. To avoid that, we can use the group block as an out of the box pattern wrapper with a custom class mywrapper: Theoretically one can use the custom html block as a pattern,...