Sorry, we don't support your browser.  Install a modern browser

Dialog Tag for Container Block#48


While the default for Container Block is a ‘div’, it is great to be able to choose custom tag names: article, section, header, footer and aside.

Is it possible to include a custom tag for ‘dialog’ to create modals?

While I have used JavaScript to replace the container ‘div’ block with ‘dialog’ block in my post WordPress Modal using GenerateBlocks (, I feel that it would be better to start with the correct tag.

2 months ago