mirror of
https://github.com/WordPress/WordPress.git
synced 2024-11-07 19:31:54 +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
51 lines
1.1 KiB
JSON
51 lines
1.1 KiB
JSON
{
|
||
"apiVersion": 2,
|
||
"name": "core/site-logo",
|
||
"title": "Site Logo",
|
||
"category": "layout",
|
||
"description": "Display a graphic to represent this site. Update the block, and the changes apply everywhere it’s used. This is different than the site icon, which is the smaller image visible in your dashboard, browser tabs, etc used to help others recognize this site.",
|
||
"textdomain": "default",
|
||
"attributes": {
|
||
"align": {
|
||
"type": "string"
|
||
},
|
||
"width": {
|
||
"type": "number"
|
||
},
|
||
"isLink": {
|
||
"type": "boolean",
|
||
"default": true
|
||
},
|
||
"linkTarget": {
|
||
"type": "string",
|
||
"default": "_self"
|
||
}
|
||
},
|
||
"example": {
|
||
"viewportWidth": 500,
|
||
"attributes": {
|
||
"width": 350
|
||
}
|
||
},
|
||
"supports": {
|
||
"html": false,
|
||
"align": true,
|
||
"alignWide": false,
|
||
"color": {
|
||
"__experimentalDuotone": "img",
|
||
"text": false,
|
||
"background": false
|
||
}
|
||
},
|
||
"styles": [
|
||
{
|
||
"name": "default",
|
||
"label": "Default",
|
||
"isDefault": true
|
||
},
|
||
{ "name": "rounded", "label": "Rounded" }
|
||
],
|
||
"editorStyle": "wp-block-site-logo-editor",
|
||
"style": "wp-block-site-logo"
|
||
}
|