diff options
Diffstat (limited to '')
-rw-r--r-- | wp-includes/blocks/social-link/block.json | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/wp-includes/blocks/social-link/block.json b/wp-includes/blocks/social-link/block.json new file mode 100644 index 0000000..50e95ef --- /dev/null +++ b/wp-includes/blocks/social-link/block.json @@ -0,0 +1,37 @@ +{ + "$schema": "https://schemas.wp.org/trunk/block.json", + "apiVersion": 3, + "name": "core/social-link", + "title": "Social Icon", + "category": "widgets", + "parent": [ "core/social-links" ], + "description": "Display an icon linking to a social media profile or site.", + "textdomain": "default", + "attributes": { + "url": { + "type": "string" + }, + "service": { + "type": "string" + }, + "label": { + "type": "string" + }, + "rel": { + "type": "string" + } + }, + "usesContext": [ + "openInNewTab", + "showLabels", + "iconColor", + "iconColorValue", + "iconBackgroundColor", + "iconBackgroundColorValue" + ], + "supports": { + "reusable": false, + "html": false + }, + "editorStyle": "wp-block-social-link-editor" +} |