diff -r 34716fd837a4 -r be944660c56a wp/wp-includes/blocks/social-links/block.json --- a/wp/wp-includes/blocks/social-links/block.json Tue Dec 15 15:52:01 2020 +0100 +++ b/wp/wp-includes/blocks/social-links/block.json Wed Sep 21 18:19:35 2022 +0200 @@ -1,13 +1,52 @@ { + "apiVersion": 2, "name": "core/social-links", + "title": "Social Icons", "category": "widgets", + "description": "Display icons linking to your social media profiles or websites.", + "keywords": [ "links" ], + "textdomain": "default", + "attributes": { + "iconColor": { + "type": "string" + }, + "customIconColor": { + "type": "string" + }, + "iconColorValue": { + "type": "string" + }, + "iconBackgroundColor": { + "type": "string" + }, + "customIconBackgroundColor": { + "type": "string" + }, + "iconBackgroundColorValue": { + "type": "string" + }, + "openInNewTab": { + "type": "boolean", + "default": false + }, + "size": { + "type": "string" + } + }, + "providesContext": { + "openInNewTab": "openInNewTab", + "iconColorValue": "iconColorValue", + "iconBackgroundColorValue": "iconBackgroundColorValue" + }, "supports": { - "align": [ - "left", - "center", - "right" - ], - "lightBlockWrapper": true, + "align": [ "left", "center", "right" ], "anchor": true - } + }, + "styles": [ + { "name": "default", "label": "Default", "isDefault": true }, + { "name": "logos-only", "label": "Logos Only" }, + { "name": "pill-shape", "label": "Pill Shape" } + ], + "editorStyle": "wp-block-social-links-editor", + "style": "wp-block-social-links" }