CoreFiles by mySites.guru
block.json69 lines, 1,463 bytes, from wordpress-6.2-beta2.zip
Raw History Compare with 6.2-beta1
md5
8bbbfebb4486ebaaec25b1c913d2ed15
sha1
f2843de9913dc6e948b20781137be9ce667fc200
sha256
9a13b91c0844537a01d232c95bf82166d4c37adf4907b24646afd6a9929aa467
{
	"$schema": "https://schemas.wp.org/trunk/block.json",
	"apiVersion": 2,
	"name": "core/post-author",
	"title": "Post Author",
	"category": "theme",
	"description": "Display post author details such as name, avatar, and bio.",
	"textdomain": "default",
	"attributes": {
		"textAlign": {
			"type": "string"
		},
		"avatarSize": {
			"type": "number",
			"default": 48
		},
		"showAvatar": {
			"type": "boolean",
			"default": true
		},
		"showBio": {
			"type": "boolean"
		},
		"byline": {
			"type": "string"
		},
		"isLink": {
			"type": "boolean",
			"default": false
		},
		"linkTarget": {
			"type": "string",
			"default": "_self"
		}
	},
	"usesContext": [ "postType", "postId", "queryId" ],
	"supports": {
		"anchor": true,
		"html": false,
		"spacing": {
			"margin": true,
			"padding": true
		},
		"typography": {
			"fontSize": true,
			"lineHeight": true,
			"__experimentalFontFamily": true,
			"__experimentalFontWeight": true,
			"__experimentalFontStyle": true,
			"__experimentalTextTransform": true,
			"__experimentalTextDecoration": true,
			"__experimentalLetterSpacing": true,
			"__experimentalDefaultControls": {
				"fontSize": true
			}
		},
		"color": {
			"gradients": true,
			"link": true,
			"__experimentalDuotone": ".wp-block-post-author__avatar img",
			"__experimentalDefaultControls": {
				"background": true,
				"text": true
			}
		}
	},
	"editorStyle": "wp-block-post-author-editor",
	"style": "wp-block-post-author"
}

The same content is in 3 releases, WordPress 6.2-beta1 to 6.2-beta3. See them all, or every version of this file.