wp/wp-includes/blocks/post-template/block.json
changeset 19 3d72ae0968f4
parent 18 be944660c56a
child 21 48c4eec2b7e6
equal deleted inserted replaced
18:be944660c56a 19:3d72ae0968f4
     1 {
     1 {
       
     2 	"$schema": "https://schemas.wp.org/trunk/block.json",
     2 	"apiVersion": 2,
     3 	"apiVersion": 2,
     3 	"name": "core/post-template",
     4 	"name": "core/post-template",
     4 	"title": "Post Template",
     5 	"title": "Post Template",
     5 	"category": "design",
     6 	"category": "theme",
     6 	"parent": [ "core/query" ],
     7 	"parent": [ "core/query" ],
     7 	"description": "Contains the block elements used to render a post, like the title, date, featured image, content or excerpt, and more.",
     8 	"description": "Contains the block elements used to render a post, like the title, date, featured image, content or excerpt, and more.",
     8 	"textdomain": "default",
     9 	"textdomain": "default",
     9 	"usesContext": [
    10 	"usesContext": [
    10 		"queryId",
    11 		"queryId",
    14 		"templateSlug"
    15 		"templateSlug"
    15 	],
    16 	],
    16 	"supports": {
    17 	"supports": {
    17 		"reusable": false,
    18 		"reusable": false,
    18 		"html": false,
    19 		"html": false,
    19 		"align": true
    20 		"align": true,
       
    21 		"__experimentalLayout": {
       
    22 			"allowEditing": false
       
    23 		}
    20 	},
    24 	},
    21 	"style": "wp-block-post-template",
    25 	"style": "wp-block-post-template",
    22 	"editorStyle": "wp-block-post-template-editor"
    26 	"editorStyle": "wp-block-post-template-editor"
    23 }
    27 }