--- a/wp/wp-includes/blocks/spacer/block.json Wed Sep 21 18:19:35 2022 +0200
+++ b/wp/wp-includes/blocks/spacer/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/spacer",
"title": "Spacer",
@@ -7,11 +8,11 @@
"textdomain": "default",
"attributes": {
"height": {
- "type": "number",
- "default": 100
+ "type": "string",
+ "default": "100px"
},
"width": {
- "type": "number"
+ "type": "string"
}
},
"usesContext": [ "orientation" ],