WordPress/wp-includes/blocks/text-columns/block.json

36 lines
538 B
JSON
Raw Normal View History

{
"apiVersion": 2,
"name": "core/text-columns",
"icon": "columns",
"category": "design",
"attributes": {
"content": {
"type": "array",
"source": "query",
"selector": "p",
"query": {
"children": {
"type": "string",
"source": "html"
}
},
"default": [
{},
{}
]
},
"columns": {
"type": "number",
"default": 2
},
"width": {
"type": "string"
}
},
"supports": {
"inserter": false
},
"editorStyle": "wp-block-text-columns-editor",
"style": "wp-block-text-columns"
}