mirror of
https://github.com/WordPress/WordPress.git
synced 2024-11-09 04:11:10 +01:00
ebca9841e8
This brings the JS packages up to date and is the first step that will allow us to include the other block editor updates for WordPress 5.9: FSE infrastrucutre, site editor and global styles. Props noisysocks. See #54337. Built from https://develop.svn.wordpress.org/trunk@52042 git-svn-id: http://core.svn.wordpress.org/trunk@51634 1a063a9b-81f0-0310-95a4-ce76da25c4cd
41 lines
805 B
JSON
41 lines
805 B
JSON
{
|
|
"apiVersion": 2,
|
|
"name": "core/post-featured-image",
|
|
"title": "Post Featured Image",
|
|
"category": "theme",
|
|
"description": "Display a post's featured image.",
|
|
"textdomain": "default",
|
|
"attributes": {
|
|
"isLink": {
|
|
"type": "boolean",
|
|
"default": false
|
|
},
|
|
"width": {
|
|
"type": "string"
|
|
},
|
|
"height": {
|
|
"type": "string"
|
|
},
|
|
"scale": {
|
|
"type": "string",
|
|
"default": "cover"
|
|
}
|
|
},
|
|
"usesContext": [ "postId", "postType", "queryId" ],
|
|
"supports": {
|
|
"align": [ "left", "right", "center", "wide", "full" ],
|
|
"color": {
|
|
"__experimentalDuotone": "img",
|
|
"text": false,
|
|
"background": false
|
|
},
|
|
"html": false,
|
|
"spacing": {
|
|
"margin": true,
|
|
"padding": true
|
|
}
|
|
},
|
|
"editorStyle": "wp-block-post-featured-image-editor",
|
|
"style": "wp-block-post-featured-image"
|
|
}
|