wp/wp-includes/blocks/latest-comments/block.json
changeset 18 be944660c56a
parent 16 a86126ab1dd4
child 19 3d72ae0968f4
--- a/wp/wp-includes/blocks/latest-comments/block.json	Tue Dec 15 15:52:01 2020 +0100
+++ b/wp/wp-includes/blocks/latest-comments/block.json	Wed Sep 21 18:19:35 2022 +0200
@@ -1,20 +1,12 @@
 {
+	"apiVersion": 2,
 	"name": "core/latest-comments",
+	"title": "Latest Comments",
 	"category": "widgets",
+	"description": "Display a list of your most recent comments.",
+	"keywords": [ "recent comments" ],
+	"textdomain": "default",
 	"attributes": {
-		"align": {
-			"type": "string",
-			"enum": [
-				"left",
-				"center",
-				"right",
-				"wide",
-				"full"
-			]
-		},
-		"className": {
-			"type": "string"
-		},
 		"commentsToShow": {
 			"type": "number",
 			"default": 5,
@@ -37,5 +29,7 @@
 	"supports": {
 		"align": true,
 		"html": false
-	}
+	},
+	"editorStyle": "wp-block-latest-comments-editor",
+	"style": "wp-block-latest-comments"
 }