--- a/wp/wp-includes/blocks/post-author-name/block.json Fri Sep 05 18:40:08 2025 +0200
+++ b/wp/wp-includes/blocks/post-author-name/block.json Fri Sep 05 18:52:52 2025 +0200
@@ -12,14 +12,19 @@
},
"isLink": {
"type": "boolean",
- "default": false
+ "default": false,
+ "role": "content"
},
"linkTarget": {
"type": "string",
- "default": "_self"
+ "default": "_self",
+ "role": "content"
}
},
"usesContext": [ "postType", "postId" ],
+ "example": {
+ "viewportWidth": 350
+ },
"supports": {
"html": false,
"spacing": {
@@ -50,6 +55,19 @@
},
"interactivity": {
"clientNavigation": true
+ },
+ "__experimentalBorder": {
+ "radius": true,
+ "color": true,
+ "width": true,
+ "style": true,
+ "__experimentalDefaultControls": {
+ "radius": true,
+ "color": true,
+ "width": true,
+ "style": true
+ }
}
- }
+ },
+ "style": "wp-block-post-author-name"
}