CoreFiles by mySites.guru
block.json54 lines, 1,114 bytes, from wordpress-6.0.zip
Raw History Compare with 5.9.20
md5
35036bf8ae7da5ca69260200bd7b8e6c
sha1
9c7eac1fca8b98fc70e11d5f337dd66b54da01d4
sha256
5d49e2df995655d342d34cc8bdd66f5d584ba2fd8f234f1b07fe9065114fdc5e
{
	"$schema": "https://schemas.wp.org/trunk/block.json",
	"apiVersion": 2,
	"name": "core/code",
	"title": "Code",
	"category": "text",
	"description": "Display code snippets that respect your spacing and tabs.",
	"textdomain": "default",
	"attributes": {
		"content": {
			"type": "string",
			"source": "html",
			"selector": "code"
		}
	},
	"supports": {
		"anchor": true,
		"typography": {
			"fontSize": true,
			"lineHeight": true,
			"__experimentalFontStyle": true,
			"__experimentalFontWeight": true,
			"__experimentalLetterSpacing": true,
			"__experimentalTextTransform": true,
			"__experimentalDefaultControls": {
				"fontSize": true
			}
		},
		"spacing": {
			"margin": [ "top", "bottom" ],
			"padding": true
		},
		"__experimentalBorder": {
			"radius": true,
			"color": true,
			"width": true,
			"style": true,
			"__experimentalDefaultControls": {
				"width": true,
				"color": true
			}
		},
		"color": {
			"text": true,
			"background": true,
			"gradients": true,
			"__experimentalDefaultControls": {
				"background": true,
				"text": true
			}
		}
	},
	"style": "wp-block-code"
}

The same content is in 29 releases, WordPress 6.0-beta1 to 6.0.18. See them all, or every version of this file.