mirror of
https://github.com/WordPress/WordPress.git
synced 2024-09-12 15:48:34 +02:00
This brings the latest and greatest from Gutenberg. The full changelog is available here https://github.com/WordPress/gutenberg/releases/tag/v17.7.0-rc.1 Props youknowriad, get_dave. See #60315. Built from https://develop.svn.wordpress.org/trunk@57578 git-svn-id: http://core.svn.wordpress.org/trunk@57079 1a063a9b-81f0-0310-95a4-ce76da25c4cd
41 lines
766 B
JSON
41 lines
766 B
JSON
{
|
|
"$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,
|
|
"interactivity": {
|
|
"clientNavigation": true
|
|
}
|
|
},
|
|
"editorStyle": "wp-block-social-link-editor"
|
|
}
|