37 lines
690 B
JSON
37 lines
690 B
JSON
{
|
|
"$schema": "https://schemas.wp.org/trunk/block.json",
|
|
"apiVersion": 2,
|
|
"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",
|
|
"iconColorValue",
|
|
"iconBackgroundColorValue"
|
|
],
|
|
"supports": {
|
|
"anchor": true,
|
|
"reusable": false,
|
|
"html": false
|
|
},
|
|
"editorStyle": "wp-block-social-link-editor"
|
|
}
|