wp/wp-includes/blocks/embed/block.json
changeset 22 8c2e4d02f4ef
parent 21 48c4eec2b7e6
equal deleted inserted replaced
21:48c4eec2b7e6 22:8c2e4d02f4ef
     7 	"description": "Add a block that displays content pulled from other sites, like Twitter or YouTube.",
     7 	"description": "Add a block that displays content pulled from other sites, like Twitter or YouTube.",
     8 	"textdomain": "default",
     8 	"textdomain": "default",
     9 	"attributes": {
     9 	"attributes": {
    10 		"url": {
    10 		"url": {
    11 			"type": "string",
    11 			"type": "string",
    12 			"__experimentalRole": "content"
    12 			"role": "content"
    13 		},
    13 		},
    14 		"caption": {
    14 		"caption": {
    15 			"type": "rich-text",
    15 			"type": "rich-text",
    16 			"source": "rich-text",
    16 			"source": "rich-text",
    17 			"selector": "figcaption",
    17 			"selector": "figcaption",
    18 			"__experimentalRole": "content"
    18 			"role": "content"
    19 		},
    19 		},
    20 		"type": {
    20 		"type": {
    21 			"type": "string",
    21 			"type": "string",
    22 			"__experimentalRole": "content"
    22 			"role": "content"
    23 		},
    23 		},
    24 		"providerNameSlug": {
    24 		"providerNameSlug": {
    25 			"type": "string",
    25 			"type": "string",
    26 			"__experimentalRole": "content"
    26 			"role": "content"
    27 		},
    27 		},
    28 		"allowResponsive": {
    28 		"allowResponsive": {
    29 			"type": "boolean",
    29 			"type": "boolean",
    30 			"default": true
    30 			"default": true
    31 		},
    31 		},
    32 		"responsive": {
    32 		"responsive": {
    33 			"type": "boolean",
    33 			"type": "boolean",
    34 			"default": false,
    34 			"default": false,
    35 			"__experimentalRole": "content"
    35 			"role": "content"
    36 		},
    36 		},
    37 		"previewable": {
    37 		"previewable": {
    38 			"type": "boolean",
    38 			"type": "boolean",
    39 			"default": true,
    39 			"default": true,
    40 			"__experimentalRole": "content"
    40 			"role": "content"
    41 		}
    41 		}
    42 	},
    42 	},
    43 	"supports": {
    43 	"supports": {
    44 		"align": true,
    44 		"align": true,
    45 		"spacing": {
    45 		"spacing": {