2023-08-30 21:14:57 +02:00
|
|
|
{
|
|
|
|
"$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
|
2023-09-21 19:55:14 +02:00
|
|
|
},
|
|
|
|
"typography": {
|
|
|
|
"fontSize": true,
|
|
|
|
"__experimentalDefaultControls": {
|
|
|
|
"fontSize": true
|
|
|
|
}
|
2023-08-30 21:14:57 +02:00
|
|
|
}
|
|
|
|
},
|
|
|
|
"attributes": {
|
|
|
|
"selectedUser": {
|
|
|
|
"type": "string",
|
|
|
|
"default": "site"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"editorScript": "file:./index.js",
|
|
|
|
"viewScript": "file:./view.js",
|
|
|
|
"style": [
|
|
|
|
"file:./style-index.css",
|
|
|
|
"wp-components"
|
|
|
|
]
|
|
|
|
}
|