block.json in Gutenberg 10.1.0, at build/block-library/blocks/cover/block.json
| 1 | { |
| 2 | "apiVersion": 2, |
| 3 | "name": "core/cover", |
| 4 | "category": "media", |
| 5 | "attributes": { |
| 6 | "url": { |
| 7 | "type": "string" |
| 8 | }, |
| 9 | "id": { |
| 10 | "type": "number" |
| 11 | }, |
| 12 | "hasParallax": { |
| 13 | "type": "boolean", |
| 14 | "default": false |
| 15 | }, |
| 16 | "isRepeated": { |
| 17 | "type": "boolean", |
| 18 | "default": false |
| 19 | }, |
| 20 | "dimRatio": { |
| 21 | "type": "number", |
| 22 | "default": 50 |
| 23 | }, |
| 24 | "overlayColor": { |
| 25 | "type": "string" |
| 26 | }, |
| 27 | "customOverlayColor": { |
| 28 | "type": "string" |
| 29 | }, |
| 30 | "backgroundType": { |
| 31 | "type": "string", |
| 32 | "default": "image" |
| 33 | }, |
| 34 | "focalPoint": { |
| 35 | "type": "object" |
| 36 | }, |
| 37 | "minHeight": { |
| 38 | "type": "number" |
| 39 | }, |
| 40 | "minHeightUnit": { |
| 41 | "type": "string" |
| 42 | }, |
| 43 | "gradient": { |
| 44 | "type": "string" |
| 45 | }, |
| 46 | "customGradient": { |
| 47 | "type": "string" |
| 48 | }, |
| 49 | "contentPosition": { |
| 50 | "type": "string" |
| 51 | } |
| 52 | }, |
| 53 | "supports": { |
| 54 | "anchor": true, |
| 55 | "align": true, |
| 56 | "html": false, |
| 57 | "spacing": { |
| 58 | "padding": true |
| 59 | } |
| 60 | }, |
| 61 | "editorStyle": "wp-block-cover-editor", |
| 62 | "style": "wp-block-cover" |
| 63 | } |
| 64 |