mirror of
https://github.com/WordPress/WordPress.git
synced 2024-11-07 19:31:54 +01:00
f05f235042
Adds the required infrastructure to render block-based themes. This is sourced from the Gutenberg plugin. Fixes #54335. Props bernhard-reiter, youknowriad, ntsekouras, hellofromtonya. Built from https://develop.svn.wordpress.org/trunk@52062 git-svn-id: http://core.svn.wordpress.org/trunk@51654 1a063a9b-81f0-0310-95a4-ce76da25c4cd
36 lines
648 B
JSON
36 lines
648 B
JSON
{
|
|
"apiVersion": 2,
|
|
"name": "core/template-part",
|
|
"title": "Template Part",
|
|
"category": "theme",
|
|
"description": "Edit the different global regions of your site, like the header, footer, sidebar, or create your own.",
|
|
"textdomain": "default",
|
|
"attributes": {
|
|
"slug": {
|
|
"type": "string"
|
|
},
|
|
"theme": {
|
|
"type": "string"
|
|
},
|
|
"tagName": {
|
|
"type": "string"
|
|
},
|
|
"area": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
"supports": {
|
|
"align": true,
|
|
"html": false,
|
|
"color": {
|
|
"gradients": true,
|
|
"link": true
|
|
},
|
|
"spacing": {
|
|
"padding": true
|
|
},
|
|
"__experimentalLayout": true
|
|
},
|
|
"editorStyle": "wp-block-template-part-editor"
|
|
}
|