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