2023-02-07 08:04:52 +01:00
|
|
|
{
|
|
|
|
"$schema": "https://schemas.wp.org/trunk/block.json",
|
2023-06-27 16:24:19 +02:00
|
|
|
"apiVersion": 3,
|
2023-02-07 08:04:52 +01:00
|
|
|
"name": "core/post-author-name",
|
2023-09-26 16:23:26 +02:00
|
|
|
"title": "Author Name",
|
2023-02-07 08:04:52 +01:00
|
|
|
"category": "theme",
|
|
|
|
"description": "The author name.",
|
|
|
|
"textdomain": "default",
|
|
|
|
"attributes": {
|
|
|
|
"textAlign": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"isLink": {
|
|
|
|
"type": "boolean",
|
|
|
|
"default": false
|
|
|
|
},
|
|
|
|
"linkTarget": {
|
|
|
|
"type": "string",
|
|
|
|
"default": "_self"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"usesContext": [ "postType", "postId" ],
|
|
|
|
"supports": {
|
|
|
|
"html": false,
|
|
|
|
"spacing": {
|
|
|
|
"margin": true,
|
|
|
|
"padding": true
|
|
|
|
},
|
|
|
|
"color": {
|
|
|
|
"gradients": true,
|
|
|
|
"link": true,
|
|
|
|
"__experimentalDefaultControls": {
|
|
|
|
"background": true,
|
|
|
|
"text": true,
|
|
|
|
"link": true
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"typography": {
|
|
|
|
"fontSize": true,
|
|
|
|
"lineHeight": true,
|
|
|
|
"__experimentalFontFamily": true,
|
|
|
|
"__experimentalFontWeight": true,
|
|
|
|
"__experimentalFontStyle": true,
|
|
|
|
"__experimentalTextTransform": true,
|
|
|
|
"__experimentalTextDecoration": true,
|
|
|
|
"__experimentalLetterSpacing": true,
|
|
|
|
"__experimentalDefaultControls": {
|
|
|
|
"fontSize": true
|
|
|
|
}
|
2024-02-09 19:22:22 +01:00
|
|
|
},
|
|
|
|
"interactivity": {
|
|
|
|
"clientNavigation": true
|
2023-02-07 08:04:52 +01:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|