mirror of
https://github.com/WordPress/WordPress.git
synced 2024-11-19 00:55:13 +01:00
c3ea09ebb8
It contains several changes in addition to regular update to WordPress packages: - All newly exposed blocks are now registered on the server. - Dutone block support was added. - Border block support was updated. - New shared function `construct_wp_query_args` was added for the family of Query blocks - it might need some further work. Props youknowriad. See #52991. Built from https://develop.svn.wordpress.org/trunk@50929 git-svn-id: http://core.svn.wordpress.org/trunk@50538 1a063a9b-81f0-0310-95a4-ce76da25c4cd
72 lines
1.2 KiB
JSON
72 lines
1.2 KiB
JSON
{
|
|
"apiVersion": 2,
|
|
"name": "core/cover",
|
|
"title": "Cover",
|
|
"category": "media",
|
|
"description": "Add an image or video with a text overlay — great for headers.",
|
|
"textdomain": "default",
|
|
"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
|
|
},
|
|
"color": {
|
|
"__experimentalDuotone": "> .wp-block-cover__image-background, > .wp-block-cover__video-background",
|
|
"text": false,
|
|
"background": false
|
|
}
|
|
},
|
|
"editorStyle": "wp-block-cover-editor",
|
|
"style": "wp-block-cover"
|
|
}
|