--- a/wp/wp-includes/blocks/site-title/block.json Wed Sep 21 18:19:35 2022 +0200
+++ b/wp/wp-includes/blocks/site-title/block.json Tue Sep 27 16:37:53 2022 +0200
@@ -1,9 +1,10 @@
{
+ "$schema": "https://schemas.wp.org/trunk/block.json",
"apiVersion": 2,
"name": "core/site-title",
"title": "Site Title",
- "category": "design",
- "description": "Displays and allows editing the name of the site. The site title usually appears in the browser title bar, in search results, and more. Also available in Settings > General.",
+ "category": "theme",
+ "description": "Displays the name of this site. Update the block, and the changes apply everywhere it’s used. This will also appear in the browser title bar and in search results.",
"textdomain": "default",
"attributes": {
"level": {
@@ -12,15 +13,30 @@
},
"textAlign": {
"type": "string"
+ },
+ "isLink": {
+ "type": "boolean",
+ "default": true
+ },
+ "linkTarget": {
+ "type": "string",
+ "default": "_self"
}
},
+ "example": {
+ "viewportWidth": 500
+ },
"supports": {
"align": [ "wide", "full" ],
"html": false,
"color": {
"gradients": true,
- "text": false,
- "link": true
+ "link": true,
+ "__experimentalDefaultControls": {
+ "background": true,
+ "text": true,
+ "link": true
+ }
},
"spacing": {
"padding": true,
@@ -32,7 +48,15 @@
"__experimentalFontFamily": true,
"__experimentalTextTransform": true,
"__experimentalFontStyle": true,
- "__experimentalFontWeight": true
+ "__experimentalFontWeight": true,
+ "__experimentalLetterSpacing": true,
+ "__experimentalDefaultControls": {
+ "fontSize": true,
+ "lineHeight": true,
+ "fontAppearance": true,
+ "letterSpacing": true,
+ "textTransform": true
+ }
}
},
"editorStyle": "wp-block-site-title-editor"