wp/wp-includes/blocks/social-link/block.json
changeset 18 be944660c56a
parent 16 a86126ab1dd4
child 19 3d72ae0968f4
--- a/wp/wp-includes/blocks/social-link/block.json	Tue Dec 15 15:52:01 2020 +0100
+++ b/wp/wp-includes/blocks/social-link/block.json	Wed Sep 21 18:19:35 2022 +0200
@@ -1,9 +1,11 @@
 {
+	"apiVersion": 2,
 	"name": "core/social-link",
+	"title": "Social Icon",
 	"category": "widgets",
-	"parent": [
-		"core/social-links"
-	],
+	"parent": [ "core/social-links" ],
+	"description": "Display an icon linking to a social media profile or website.",
+	"textdomain": "default",
 	"attributes": {
 		"url": {
 			"type": "string"
@@ -15,9 +17,14 @@
 			"type": "string"
 		}
 	},
+	"usesContext": [
+		"openInNewTab",
+		"iconColorValue",
+		"iconBackgroundColorValue"
+	],
 	"supports": {
 		"reusable": false,
-		"html": false,
-		"lightBlockWrapper": true
-	}
+		"html": false
+	},
+	"editorStyle": "wp-block-social-link-editor"
 }