PluginProbe
Gutenberg / 23.5.2
Gutenberg v23.5.2
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 / playlist / block.json

block.json in Gutenberg 23.5.2, at build/scripts/block-library/playlist/block.json

92 lines 1.8 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 "__experimental": true,
5 "name": "core/playlist",
6 "title": "Playlist",
7 "category": "media",
8 "description": "Embed a simple playlist.",
9 "keywords": [ "music", "sound" ],
10 "textdomain": "default",
11 "allowedBlocks": [ "core/playlist-track" ],
12 "attributes": {
13 "currentTrack": {
14 "type": "string"
15 },
16 "type": {
17 "type": "string",
18 "default": "audio"
19 },
20 "order": {
21 "type": "string",
22 "default": "asc"
23 },
24 "showTracklist": {
25 "type": "boolean",
26 "default": true
27 },
28 "showImages": {
29 "type": "boolean",
30 "default": true
31 },
32 "showArtists": {
33 "type": "boolean",
34 "default": true
35 },
36 "showNumbers": {
37 "type": "boolean",
38 "default": true
39 },
40 "showTrackLength": {
41 "type": "boolean",
42 "default": true
43 },
44 "caption": {
45 "type": "string"
46 }
47 },
48 "providesContext": {
49 "showArtists": "showArtists",
50 "currentTrack": "currentTrack"
51 },
52 "supports": {
53 "anchor": true,
54 "align": true,
55 "color": {
56 "gradients": true,
57 "link": true,
58 "__experimentalDefaultControls": {
59 "background": true,
60 "text": true
61 }
62 },
63 "__experimentalBorder": {
64 "color": true,
65 "radius": true,
66 "style": true,
67 "width": true,
68 "__experimentalDefaultControls": {
69 "color": true,
70 "radius": true,
71 "style": true,
72 "width": true
73 }
74 },
75 "interactivity": true,
76 "spacing": {
77 "margin": true,
78 "padding": true
79 }
80 },
81 "styles": [
82 { "name": "bars", "label": "Bars", "isDefault": true },
83 { "name": "mirror", "label": "Mirror" },
84 { "name": "line", "label": "Line" },
85 { "name": "blocks", "label": "Blocks" },
86 { "name": "dots", "label": "Dots" },
87 { "name": "seekbar", "label": "Seekbar" }
88 ],
89 "editorStyle": "wp-block-playlist-editor",
90 "style": "wp-block-playlist"
91 }
92