block.json in Gutenberg 8.5.1, at build/block-library/blocks/post-author/block.json
| 1 | { |
| 2 | "name": "core/post-author", |
| 3 | "category": "design", |
| 4 | "attributes": { |
| 5 | "align": { |
| 6 | "type": "string" |
| 7 | }, |
| 8 | "avatarSize": { |
| 9 | "type": "number", |
| 10 | "default": 48 |
| 11 | }, |
| 12 | "showAvatar": { |
| 13 | "type": "boolean", |
| 14 | "default": true |
| 15 | }, |
| 16 | "showBio": { |
| 17 | "type": "boolean" |
| 18 | }, |
| 19 | "byline": { |
| 20 | "type": "string" |
| 21 | }, |
| 22 | "backgroundColor": { |
| 23 | "type": "string" |
| 24 | }, |
| 25 | "textColor": { |
| 26 | "type": "string" |
| 27 | }, |
| 28 | "customBackgroundColor": { |
| 29 | "type": "string" |
| 30 | }, |
| 31 | "customTextColor": { |
| 32 | "type": "string" |
| 33 | } |
| 34 | }, |
| 35 | "usesContext": [ |
| 36 | "postType", |
| 37 | "postId" |
| 38 | ], |
| 39 | "supports": { |
| 40 | "html": false, |
| 41 | "__experimentalFontSize": true |
| 42 | } |
| 43 | } |
| 44 |