CoreFiles by mySites.guru
block.json118 lines, 2,237 bytes, from wordpress-7.2-RC2.zip
Raw History Compare with 7.2-RC1
md5
f157e8940b05f26029257cf23547df61
sha1
e39ee6f0e80ee9672a3adf373d9ac2d14f3014b7
sha256
6ff4db886f567b08d45ffcd70146c254b17510a5be9a310b62e67d9fcc00be3a
{
	"$schema": "https://schemas.wp.org/trunk/block.json",
	"apiVersion": 3,
	"name": "core/playlist",
	"title": "Playlist",
	"category": "media",
	"description": "Embed a simple playlist.",
	"keywords": [ "music", "sound" ],
	"textdomain": "default",
	"allowedBlocks": [ "core/playlist-track" ],
	"attributes": {
		"type": {
			"type": "string",
			"default": "audio"
		},
		"order": {
			"type": "string",
			"default": "asc"
		},
		"showTracklist": {
			"type": "boolean",
			"default": true
		},
		"showImages": {
			"type": "boolean",
			"default": true
		},
		"showPlayButtonArtwork": {
			"type": "boolean",
			"default": false
		},
		"showArtists": {
			"type": "boolean",
			"default": true
		},
		"showNumbers": {
			"type": "boolean",
			"default": true
		},
		"showTrackLength": {
			"type": "boolean",
			"default": true
		},
		"waveformStyle": {
			"type": "string",
			"enum": [ "bars", "mirror", "line", "blocks", "dots", "seekbar" ],
			"default": "bars"
		},
		"waveformColor": {
			"type": "string"
		},
		"waveformGradient": {
			"type": "string"
		},
		"waveformBackgroundColor": {
			"type": "string"
		},
		"waveformBackgroundGradient": {
			"type": "string"
		},
		"caption": {
			"type": "string"
		}
	},
	"providesContext": {
		"showArtists": "showArtists",
		"showImages": "showImages"
	},
	"supports": {
		"anchor": true,
		"align": true,
		"background": {
			"backgroundImage": true,
			"backgroundSize": true,
			"gradient": true,
			"__experimentalDefaultControls": {
				"backgroundImage": true,
				"gradient": true
			}
		},
		"color": {
			"gradients": true,
			"link": true,
			"__experimentalDefaultControls": {
				"background": true,
				"text": true
			}
		},
		"__experimentalBorder": {
			"color": true,
			"style": true,
			"width": true,
			"__experimentalDefaultControls": {
				"color": true,
				"style": true,
				"width": true
			}
		},
		"dimensions": {
			"minHeight": true,
			"minWidth": true
		},
		"interactivity": true,
		"shadow": true,
		"spacing": {
			"margin": true,
			"padding": true
		},
		"typography": {
			"fontSize": true,
			"__experimentalDefaultControls": {
				"fontSize": true
			}
		}
	},
	"editorStyle": "wp-block-playlist-editor",
	"style": "wp-block-playlist"
}

The same content is in 7 releases, WordPress 7.2-beta1 to 7.2-RC2. See them all, or every version of this file.