wp/wp-includes/blocks/preformatted/block.json
changeset 18 be944660c56a
parent 16 a86126ab1dd4
child 19 3d72ae0968f4
--- a/wp/wp-includes/blocks/preformatted/block.json	Tue Dec 15 15:52:01 2020 +0100
+++ b/wp/wp-includes/blocks/preformatted/block.json	Wed Sep 21 18:19:35 2022 +0200
@@ -1,17 +1,28 @@
 {
+	"apiVersion": 2,
 	"name": "core/preformatted",
+	"title": "Preformatted",
 	"category": "text",
+	"description": "Add text that respects your spacing and tabs, and also allows styling.",
+	"textdomain": "default",
 	"attributes": {
 		"content": {
 			"type": "string",
 			"source": "html",
 			"selector": "pre",
 			"default": "",
-			"__unstablePreserveWhiteSpace": true
+			"__unstablePreserveWhiteSpace": true,
+			"__experimentalRole": "content"
 		}
 	},
 	"supports": {
 		"anchor": true,
-		"lightBlockWrapper": true
-	}
+		"color": {
+			"gradients": true
+		},
+		"typography": {
+			"fontSize": true
+		}
+	},
+	"style": "wp-block-preformatted"
 }