This block is deprecated and should not be used in new content. Please use the Columns block instead.
Attributes
Defined via the attributes property in block.json.
| Attribute | Type | Default | Description |
|---|---|---|---|
content |
array |
[{},{}] |
Source: query. Selector: p |
columns |
number |
2 |
— |
width |
string |
— | — |
Supports
Defined via the supports property in block.json.
inserter:falseinteractivity:clientNavigation:true
Block Markup
This is a static block. The markup is saved directly in the post content.
<!-- wp:core/text-columns {"width":"center"} -->
<div class="wp-block-text-columns aligncenter columns-2">
<div class="wp-block-column">
<p>One</p>
</div>
<div class="wp-block-column">
<p>Two</p>
</div>
</div>
<!-- /wp:core/text-columns -->
Source
- block.json (reference)
- Source directory — browse
edit.js,save.js,index.php, and more.