PluginProbe
Gutenberg / 23.3.1
Gutenberg v23.3.1
23.9.1 23.9.0 23.8.0 23.7.2 23.7.1 23.7.0 23.6.1 23.6.2 23.6.0 23.5.3 23.5.2 23.5.1 23.5.0 23.4.0 23.3.2 23.3.1 23.3.0 23.2.0 23.2.1 23.2.2 23.1.1 23.1.0 23.0.1 12.6.0 7.4.0 All 402 releases
gutenberg / build / scripts / block-library / audio / block.json

block.json in Gutenberg 23.3.1, at build/scripts/block-library/audio/block.json

69 lines 1.3 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 {
2 "$schema": "https://schemas.wp.org/trunk/block.json",
3 "apiVersion": 3,
4 "name": "core/audio",
5 "title": "Audio",
6 "category": "media",
7 "description": "Embed a simple audio player.",
8 "keywords": [ "music", "sound", "podcast", "recording" ],
9 "textdomain": "default",
10 "attributes": {
11 "blob": {
12 "type": "string",
13 "role": "local"
14 },
15 "src": {
16 "type": "string",
17 "source": "attribute",
18 "selector": "audio",
19 "attribute": "src",
20 "role": "content"
21 },
22 "caption": {
23 "type": "rich-text",
24 "source": "rich-text",
25 "selector": "figcaption",
26 "role": "content"
27 },
28 "id": {
29 "type": "number",
30 "role": "content"
31 },
32 "autoplay": {
33 "type": "boolean",
34 "source": "attribute",
35 "selector": "audio",
36 "attribute": "autoplay"
37 },
38 "loop": {
39 "type": "boolean",
40 "source": "attribute",
41 "selector": "audio",
42 "attribute": "loop"
43 },
44 "preload": {
45 "type": "string",
46 "source": "attribute",
47 "selector": "audio",
48 "attribute": "preload"
49 }
50 },
51 "supports": {
52 "anchor": true,
53 "align": true,
54 "spacing": {
55 "margin": true,
56 "padding": true,
57 "__experimentalDefaultControls": {
58 "margin": false,
59 "padding": false
60 }
61 },
62 "interactivity": {
63 "clientNavigation": true
64 }
65 },
66 "editorStyle": "wp-block-audio-editor",
67 "style": "wp-block-audio"
68 }
69