wp/wp-includes/blocks/block/block.json
changeset 21 48c4eec2b7e6
parent 19 3d72ae0968f4
equal deleted inserted replaced
20:7b1b88e27a20 21:48c4eec2b7e6
     1 {
     1 {
     2 	"$schema": "https://schemas.wp.org/trunk/block.json",
     2 	"$schema": "https://schemas.wp.org/trunk/block.json",
     3 	"apiVersion": 2,
     3 	"apiVersion": 3,
     4 	"name": "core/block",
     4 	"name": "core/block",
     5 	"title": "Reusable block",
     5 	"title": "Pattern",
     6 	"category": "reusable",
     6 	"category": "reusable",
     7 	"description": "Create and save content to reuse across your site. Update the block, and the changes apply everywhere it’s used.",
     7 	"description": "Reuse this design across your site.",
       
     8 	"keywords": [ "reusable" ],
     8 	"textdomain": "default",
     9 	"textdomain": "default",
     9 	"attributes": {
    10 	"attributes": {
    10 		"ref": {
    11 		"ref": {
    11 			"type": "number"
    12 			"type": "number"
       
    13 		},
       
    14 		"content": {
       
    15 			"type": "object",
       
    16 			"default": {}
    12 		}
    17 		}
       
    18 	},
       
    19 	"providesContext": {
       
    20 		"pattern/overrides": "content"
    13 	},
    21 	},
    14 	"supports": {
    22 	"supports": {
    15 		"customClassName": false,
    23 		"customClassName": false,
    16 		"html": false,
    24 		"html": false,
    17 		"inserter": false
    25 		"inserter": false,
    18 	},
    26 		"renaming": false,
    19 	"editorStyle": "wp-block-editor"
    27 		"interactivity": {
       
    28 			"clientNavigation": true
       
    29 		}
       
    30 	}
    20 }
    31 }