PluginProbe
Gutenberg / trunk
Gutenberg vtrunk
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
← All changes | build/scripts/block-library/playlist-track/block.json +19 -12 23.2.2 → trunk View file →
@@ -1,8 +1,7 @@
1 1 {
2 2 "$schema": "https://schemas.wp.org/trunk/block.json",
3 3 "apiVersion": 3,
4 - "__experimental": true,
5 4 "name": "core/playlist-track",
6 5 "title": "Playlist track",
7 6 "category": "media",
8 7 "parent": [ "core/playlist" ],
@@ -8,9 +7,9 @@
8 7 "parent": [ "core/playlist" ],
9 8 "description": "Playlist track.",
10 9 "keywords": [ "music", "sound" ],
11 10 "textdomain": "default",
12 - "usesContext": [ "showArtists", "currentTrack" ],
11 + "usesContext": [ "showArtists", "showImages" ],
13 12 "attributes": {
14 13 "blob": {
15 14 "type": "string",
16 15 "role": "local"
@@ -15,15 +14,14 @@
15 14 "type": "string",
16 15 "role": "local"
17 16 },
18 17 "id": {
19 - "type": "number"
18 + "type": "number",
19 + "role": "content"
20 20 },
21 - "uniqueId": {
22 - "type": "string"
23 - },
24 21 "src": {
25 - "type": "string"
22 + "type": "string",
23 + "role": "content"
26 24 },
27 25 "type": {
28 26 "type": "string",
29 27 "default": "audio"
@@ -28,21 +26,30 @@
28 26 "type": "string",
29 27 "default": "audio"
30 28 },
31 29 "album": {
32 - "type": "string"
30 + "type": "string",
31 + "role": "content"
33 32 },
34 33 "artist": {
35 - "type": "string"
34 + "type": "string",
35 + "role": "content"
36 36 },
37 37 "image": {
38 - "type": "string"
38 + "type": "string",
39 + "role": "content"
39 40 },
41 + "imageAlt": {
42 + "type": "string",
43 + "role": "content"
44 + },
40 45 "length": {
41 - "type": "string"
46 + "type": "string",
47 + "role": "content"
42 48 },
43 49 "title": {
44 - "type": "string"
50 + "type": "string",
51 + "role": "content"
45 52 }
46 53 },
47 54 "supports": {
48 55 "html": false,