47 lines
1.0 KiB
JSON
47 lines
1.0 KiB
JSON
|
{
|
||
|
"$schema": "https://schemas.wp.org/trunk/block.json",
|
||
|
"name": "activitypub/follow-me",
|
||
|
"apiVersion": 3,
|
||
|
"version": "1.0.0",
|
||
|
"title": "Follow me on the Fediverse",
|
||
|
"category": "widgets",
|
||
|
"description": "Display your Fediverse profile so that visitors can follow you.",
|
||
|
"textdomain": "activitypub",
|
||
|
"icon": "groups",
|
||
|
"supports": {
|
||
|
"html": false,
|
||
|
"color": {
|
||
|
"gradients": true,
|
||
|
"link": true,
|
||
|
"__experimentalDefaultControls": {
|
||
|
"background": true,
|
||
|
"text": true,
|
||
|
"link": true
|
||
|
}
|
||
|
},
|
||
|
"__experimentalBorder": {
|
||
|
"radius": true,
|
||
|
"width": true,
|
||
|
"color": true,
|
||
|
"style": true
|
||
|
},
|
||
|
"typography": {
|
||
|
"fontSize": true,
|
||
|
"__experimentalDefaultControls": {
|
||
|
"fontSize": true
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"attributes": {
|
||
|
"selectedUser": {
|
||
|
"type": "string",
|
||
|
"default": "site"
|
||
|
}
|
||
|
},
|
||
|
"editorScript": "file:./index.js",
|
||
|
"viewScript": "file:./view.js",
|
||
|
"style": [
|
||
|
"file:./style-view.css",
|
||
|
"wp-components"
|
||
|
]
|
||
|
}
|