PluginProbe
Gutenberg / 24.1.0
Gutenberg v24.1.0
24.1.0 24.0.0 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 All 404 releases
gutenberg / build / scripts / block-library / audio / block.json

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

77 lines 1.4 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 "color": {
55 "background": false,
56 "link": true,
57 "text": false,
58 "__experimentalDefaultControls": {
59 "link": true
60 }
61 },
62 "spacing": {
63 "margin": true,
64 "padding": true,
65 "__experimentalDefaultControls": {
66 "margin": false,
67 "padding": false
68 }
69 },
70 "interactivity": {
71 "clientNavigation": true
72 }
73 },
74 "editorStyle": "wp-block-audio-editor",
75 "style": "wp-block-audio"
76 }
77