wp/wp-includes/blocks/image/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/image",
     4 	"name": "core/image",
     4 	"title": "Image",
     5 	"title": "Image",
     5 	"category": "media",
     6 	"category": "media",
       
     7 	"usesContext": [ "allowResize", "imageCrop", "fixedHeight" ],
     6 	"description": "Insert an image to make a visual statement.",
     8 	"description": "Insert an image to make a visual statement.",
     7 	"keywords": [ "img", "photo", "picture" ],
     9 	"keywords": [ "img", "photo", "picture" ],
     8 	"textdomain": "default",
    10 	"textdomain": "default",
     9 	"attributes": {
    11 	"attributes": {
    10 		"align": {
    12 		"align": {
    80 			"__experimentalDuotone": "img",
    82 			"__experimentalDuotone": "img",
    81 			"text": false,
    83 			"text": false,
    82 			"background": false
    84 			"background": false
    83 		},
    85 		},
    84 		"__experimentalBorder": {
    86 		"__experimentalBorder": {
    85 			"radius": true
    87 			"radius": true,
       
    88 			"__experimentalDefaultControls": {
       
    89 				"radius": true
       
    90 			}
    86 		}
    91 		}
    87 	},
    92 	},
    88 	"styles": [
    93 	"styles": [
    89 		{
    94 		{
    90 			"name": "default",
    95 			"name": "default",