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