33 lines
527 B
JSON
33 lines
527 B
JSON
{
|
|
"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"
|
|
}
|