2023-10-22 22:20:53 +00: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
|
|
|
|
},
|
|
|
|
"typography": {
|
|
|
|
"fontSize": true,
|
|
|
|
"__experimentalDefaultControls": {
|
|
|
|
"fontSize": true
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"attributes": {
|
|
|
|
"selectedUser": {
|
|
|
|
"type": "string",
|
|
|
|
"default": "site"
|
|
|
|
}
|
|
|
|
},
|
2024-10-09 12:44:17 +00:00
|
|
|
"usesContext": [
|
|
|
|
"postType",
|
|
|
|
"postId"
|
|
|
|
],
|
2023-10-22 22:20:53 +00:00
|
|
|
"editorScript": "file:./index.js",
|
|
|
|
"viewScript": "file:./view.js",
|
|
|
|
"style": [
|
2024-04-19 10:49:31 +00:00
|
|
|
"file:./style-view.css",
|
2023-10-22 22:20:53 +00:00
|
|
|
"wp-components"
|
|
|
|
]
|
|
|
|
}
|