2021-05-07 07:48:27 -04:00
|
|
|
{
|
|
|
|
"apiVersion": 2,
|
|
|
|
"name": "core/cover",
|
2021-05-19 11:09:27 -04:00
|
|
|
"title": "Cover",
|
2021-05-07 07:48:27 -04:00
|
|
|
"category": "media",
|
2021-05-19 11:09:27 -04:00
|
|
|
"description": "Add an image or video with a text overlay — great for headers.",
|
|
|
|
"textdomain": "default",
|
2021-05-07 07:48:27 -04:00
|
|
|
"attributes": {
|
|
|
|
"url": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"id": {
|
|
|
|
"type": "number"
|
|
|
|
},
|
|
|
|
"hasParallax": {
|
|
|
|
"type": "boolean",
|
|
|
|
"default": false
|
|
|
|
},
|
|
|
|
"isRepeated": {
|
|
|
|
"type": "boolean",
|
|
|
|
"default": false
|
|
|
|
},
|
|
|
|
"dimRatio": {
|
|
|
|
"type": "number",
|
|
|
|
"default": 50
|
|
|
|
},
|
|
|
|
"overlayColor": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"customOverlayColor": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"backgroundType": {
|
|
|
|
"type": "string",
|
|
|
|
"default": "image"
|
|
|
|
},
|
|
|
|
"focalPoint": {
|
|
|
|
"type": "object"
|
|
|
|
},
|
|
|
|
"minHeight": {
|
|
|
|
"type": "number"
|
|
|
|
},
|
|
|
|
"minHeightUnit": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"gradient": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"customGradient": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"contentPosition": {
|
|
|
|
"type": "string"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"supports": {
|
|
|
|
"anchor": true,
|
|
|
|
"align": true,
|
|
|
|
"html": false,
|
|
|
|
"spacing": {
|
|
|
|
"padding": true
|
2021-05-19 11:09:27 -04:00
|
|
|
},
|
|
|
|
"color": {
|
|
|
|
"__experimentalDuotone": "> .wp-block-cover__image-background, > .wp-block-cover__video-background",
|
|
|
|
"text": false,
|
|
|
|
"background": false
|
2021-05-07 07:48:27 -04:00
|
|
|
}
|
|
|
|
},
|
|
|
|
"editorStyle": "wp-block-cover-editor",
|
|
|
|
"style": "wp-block-cover"
|
|
|
|
}
|