2020-02-10 23:33:27 +01:00
|
|
|
{
|
2022-04-12 17:12:47 +02:00
|
|
|
"$schema": "https://schemas.wp.org/trunk/block.json",
|
2020-10-20 15:36:16 +02:00
|
|
|
"apiVersion": 2,
|
2020-02-10 23:33:27 +01:00
|
|
|
"name": "core/social-link",
|
2021-05-19 17:09:27 +02:00
|
|
|
"title": "Social Icon",
|
2020-02-10 23:33:27 +01:00
|
|
|
"category": "widgets",
|
2021-05-07 13:48:27 +02:00
|
|
|
"parent": [ "core/social-links" ],
|
2022-04-12 17:12:47 +02:00
|
|
|
"description": "Display an icon linking to a social media profile or site.",
|
2021-05-19 17:09:27 +02:00
|
|
|
"textdomain": "default",
|
2020-02-10 23:33:27 +01:00
|
|
|
"attributes": {
|
|
|
|
"url": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"service": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"label": {
|
2020-03-03 00:21:15 +01:00
|
|
|
"type": "string"
|
2020-02-10 23:33:27 +01:00
|
|
|
}
|
2020-06-26 15:33:47 +02:00
|
|
|
},
|
2020-10-13 15:10:30 +02:00
|
|
|
"usesContext": [
|
2021-03-01 09:25:27 +01:00
|
|
|
"openInNewTab",
|
2022-04-12 17:12:47 +02:00
|
|
|
"showLabels",
|
2021-03-01 09:25:27 +01:00
|
|
|
"iconColorValue",
|
|
|
|
"iconBackgroundColorValue"
|
2020-10-13 15:10:30 +02:00
|
|
|
],
|
2020-06-26 15:33:47 +02:00
|
|
|
"supports": {
|
|
|
|
"reusable": false,
|
2020-10-20 15:36:16 +02:00
|
|
|
"html": false
|
2021-01-28 03:04:13 +01:00
|
|
|
},
|
|
|
|
"editorStyle": "wp-block-social-link-editor"
|
2020-02-10 23:33:27 +01:00
|
|
|
}
|