WordPress/wp-includes/blocks/audio/block.json

46 lines
791 B
JSON
Raw Normal View History

{
"apiVersion": 2,
"name": "core/audio",
"category": "media",
"attributes": {
"src": {
"type": "string",
"source": "attribute",
"selector": "audio",
"attribute": "src"
},
"caption": {
"type": "string",
"source": "html",
"selector": "figcaption"
},
"id": {
"type": "number"
},
"autoplay": {
"type": "boolean",
"source": "attribute",
"selector": "audio",
"attribute": "autoplay"
},
"loop": {
"type": "boolean",
"source": "attribute",
"selector": "audio",
"attribute": "loop"
},
"preload": {
"type": "string",
"source": "attribute",
"selector": "audio",
"attribute": "preload"
}
},
"supports": {
"anchor": true,
"align": true
},
"editorStyle": "wp-block-audio-editor",
"style": "wp-block-audio"
}