Wrapper
A wrapper block that only returns a wrapper element.
Last modified: September 19, 2023
Block name
t2/wrapper
Usage
<!-- wp:t2/wrapper { "tagName": "div", "className": "my-custom-classname" } -->
<!-- wp:paragraph -->
<p>Hello World</p>
<!-- /wp:paragraph -->
<!-- /wp:t2/wrapper -->
Create a form with method and action:
<!-- wp:t2/wrapper {"tagName":"form","attrs":{"method":"post","action":"/something"}} -->
…
<!-- /wp:t2/wrapper -->