wp/wp-includes/blocks/audio/block.json
changeset 22 8c2e4d02f4ef
parent 21 48c4eec2b7e6
equal deleted inserted replaced
21:48c4eec2b7e6 22:8c2e4d02f4ef
     6 	"category": "media",
     6 	"category": "media",
     7 	"description": "Embed a simple audio player.",
     7 	"description": "Embed a simple audio player.",
     8 	"keywords": [ "music", "sound", "podcast", "recording" ],
     8 	"keywords": [ "music", "sound", "podcast", "recording" ],
     9 	"textdomain": "default",
     9 	"textdomain": "default",
    10 	"attributes": {
    10 	"attributes": {
       
    11 		"blob": {
       
    12 			"type": "string",
       
    13 			"role": "local"
       
    14 		},
    11 		"src": {
    15 		"src": {
    12 			"type": "string",
    16 			"type": "string",
    13 			"source": "attribute",
    17 			"source": "attribute",
    14 			"selector": "audio",
    18 			"selector": "audio",
    15 			"attribute": "src",
    19 			"attribute": "src",
    16 			"__experimentalRole": "content"
    20 			"role": "content"
    17 		},
    21 		},
    18 		"caption": {
    22 		"caption": {
    19 			"type": "rich-text",
    23 			"type": "rich-text",
    20 			"source": "rich-text",
    24 			"source": "rich-text",
    21 			"selector": "figcaption",
    25 			"selector": "figcaption",
    22 			"__experimentalRole": "content"
    26 			"role": "content"
    23 		},
    27 		},
    24 		"id": {
    28 		"id": {
    25 			"type": "number",
    29 			"type": "number",
    26 			"__experimentalRole": "content"
    30 			"role": "content"
    27 		},
    31 		},
    28 		"autoplay": {
    32 		"autoplay": {
    29 			"type": "boolean",
    33 			"type": "boolean",
    30 			"source": "attribute",
    34 			"source": "attribute",
    31 			"selector": "audio",
    35 			"selector": "audio",