block.json in Gutenberg 10.1.0, at build/block-library/blocks/post-excerpt/block.json
| 1 | { |
| 2 | "apiVersion": 2, |
| 3 | "name": "core/post-excerpt", |
| 4 | "category": "design", |
| 5 | "attributes": { |
| 6 | "textAlign": { |
| 7 | "type": "string" |
| 8 | }, |
| 9 | "wordCount": { |
| 10 | "type": "number", |
| 11 | "default": 55 |
| 12 | }, |
| 13 | "moreText": { |
| 14 | "type": "string" |
| 15 | }, |
| 16 | "showMoreOnNewLine": { |
| 17 | "type": "boolean", |
| 18 | "default": true |
| 19 | } |
| 20 | }, |
| 21 | "usesContext": [ |
| 22 | "postId", |
| 23 | "postType" |
| 24 | ], |
| 25 | "supports": { |
| 26 | "html": false, |
| 27 | "fontSize": true, |
| 28 | "color": { |
| 29 | "gradients": true, |
| 30 | "link": true |
| 31 | }, |
| 32 | "lineHeight": true |
| 33 | }, |
| 34 | "editorStyle": "wp-block-post-excerpt-editor" |
| 35 | } |
| 36 |