wp/wp-includes/blocks/audio/block.json
changeset 16 a86126ab1dd4
child 18 be944660c56a
equal deleted inserted replaced
15:3d4e9c994f10 16:a86126ab1dd4
       
     1 {
       
     2 	"name": "core/audio",
       
     3 	"category": "media",
       
     4 	"attributes": {
       
     5 		"src": {
       
     6 			"type": "string",
       
     7 			"source": "attribute",
       
     8 			"selector": "audio",
       
     9 			"attribute": "src"
       
    10 		},
       
    11 		"caption": {
       
    12 			"type": "string",
       
    13 			"source": "html",
       
    14 			"selector": "figcaption"
       
    15 		},
       
    16 		"id": {
       
    17 			"type": "number"
       
    18 		},
       
    19 		"autoplay": {
       
    20 			"type": "boolean",
       
    21 			"source": "attribute",
       
    22 			"selector": "audio",
       
    23 			"attribute": "autoplay"
       
    24 		},
       
    25 		"loop": {
       
    26 			"type": "boolean",
       
    27 			"source": "attribute",
       
    28 			"selector": "audio",
       
    29 			"attribute": "loop"
       
    30 		},
       
    31 		"preload": {
       
    32 			"type": "string",
       
    33 			"source": "attribute",
       
    34 			"selector": "audio",
       
    35 			"attribute": "preload"
       
    36 		}
       
    37 	},
       
    38 	"supports": {
       
    39 		"anchor": true,
       
    40 		"align": true,
       
    41 		"lightBlockWrapper": true
       
    42 	}
       
    43 }