--- a/wp/wp-includes/blocks/pullquote/block.json Wed Sep 21 18:19:35 2022 +0200
+++ b/wp/wp-includes/blocks/pullquote/block.json Tue Sep 27 16:37:53 2022 +0200
@@ -1,4 +1,5 @@
{
+ "$schema": "https://schemas.wp.org/trunk/block.json",
"apiVersion": 2,
"name": "core/pullquote",
"title": "Pullquote",
@@ -20,31 +21,47 @@
"default": "",
"__experimentalRole": "content"
},
- "mainColor": {
- "type": "string"
- },
- "customMainColor": {
- "type": "string"
- },
- "textColor": {
- "type": "string"
- },
- "customTextColor": {
+ "textAlign": {
"type": "string"
}
},
"supports": {
"anchor": true,
- "align": [ "left", "right", "wide", "full" ]
+ "align": [ "left", "right", "wide", "full" ],
+ "color": {
+ "gradients": true,
+ "background": true,
+ "link": true,
+ "__experimentalDefaultControls": {
+ "background": true,
+ "text": true
+ }
+ },
+ "typography": {
+ "fontSize": true,
+ "lineHeight": true,
+ "__experimentalFontStyle": true,
+ "__experimentalFontWeight": true,
+ "__experimentalLetterSpacing": true,
+ "__experimentalTextTransform": true,
+ "__experimentalDefaultControls": {
+ "fontSize": true,
+ "fontAppearance": true
+ }
+ },
+ "__experimentalBorder": {
+ "color": true,
+ "radius": true,
+ "style": true,
+ "width": true,
+ "__experimentalDefaultControls": {
+ "color": true,
+ "radius": true,
+ "style": true,
+ "width": true
+ }
+ }
},
- "styles": [
- {
- "name": "default",
- "label": "Default",
- "isDefault": true
- },
- { "name": "solid-color", "label": "Solid color" }
- ],
"editorStyle": "wp-block-pullquote-editor",
"style": "wp-block-pullquote"
}