2021-05-19 17:09:27 +02:00
|
|
|
{
|
2022-04-12 17:12:47 +02:00
|
|
|
"$schema": "https://schemas.wp.org/trunk/block.json",
|
2021-05-19 17:09:27 +02:00
|
|
|
"apiVersion": 2,
|
2021-06-08 19:33:22 +02:00
|
|
|
"name": "core/post-template",
|
|
|
|
"title": "Post Template",
|
2022-04-12 17:12:47 +02:00
|
|
|
"category": "theme",
|
2021-05-19 17:09:27 +02:00
|
|
|
"parent": [ "core/query" ],
|
2021-06-22 12:00:50 +02:00
|
|
|
"description": "Contains the block elements used to render a post, like the title, date, featured image, content or excerpt, and more.",
|
2021-05-19 17:09:27 +02:00
|
|
|
"textdomain": "default",
|
|
|
|
"usesContext": [
|
|
|
|
"queryId",
|
|
|
|
"query",
|
|
|
|
"queryContext",
|
2021-05-21 12:14:23 +02:00
|
|
|
"displayLayout",
|
2022-09-20 17:43:29 +02:00
|
|
|
"templateSlug",
|
|
|
|
"previewPostType"
|
2021-05-19 17:09:27 +02:00
|
|
|
],
|
|
|
|
"supports": {
|
|
|
|
"reusable": false,
|
2021-05-21 12:14:23 +02:00
|
|
|
"html": false,
|
2021-11-08 15:29:21 +01:00
|
|
|
"align": true,
|
|
|
|
"__experimentalLayout": {
|
|
|
|
"allowEditing": false
|
2022-09-20 17:43:29 +02:00
|
|
|
},
|
2023-02-07 08:04:52 +01:00
|
|
|
"color": {
|
|
|
|
"gradients": true,
|
|
|
|
"link": true,
|
|
|
|
"__experimentalDefaultControls": {
|
|
|
|
"background": true,
|
|
|
|
"text": true
|
|
|
|
}
|
|
|
|
},
|
2022-09-20 17:43:29 +02:00
|
|
|
"typography": {
|
|
|
|
"fontSize": true,
|
|
|
|
"lineHeight": true,
|
|
|
|
"__experimentalFontFamily": true,
|
|
|
|
"__experimentalFontWeight": true,
|
|
|
|
"__experimentalFontStyle": true,
|
|
|
|
"__experimentalTextTransform": true,
|
|
|
|
"__experimentalTextDecoration": true,
|
|
|
|
"__experimentalLetterSpacing": true,
|
|
|
|
"__experimentalDefaultControls": {
|
|
|
|
"fontSize": true
|
|
|
|
}
|
2021-11-08 15:29:21 +01:00
|
|
|
}
|
2021-05-19 17:09:27 +02:00
|
|
|
},
|
2021-06-08 19:33:22 +02:00
|
|
|
"style": "wp-block-post-template",
|
|
|
|
"editorStyle": "wp-block-post-template-editor"
|
2021-05-19 17:09:27 +02:00
|
|
|
}
|