7aea1e8263
The Follow Me block helps site visitors to follow you in the fediverse --------- Co-authored-by: Matthias Pfefferle <pfefferle@users.noreply.github.com>
41 lines
No EOL
920 B
JSON
41 lines
No EOL
920 B
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
|
|
}
|
|
},
|
|
"attributes": {
|
|
"selectedUser": {
|
|
"type": "string",
|
|
"default": "site"
|
|
}
|
|
},
|
|
"editorScript": "file:./index.js",
|
|
"viewScript": "file:./view.js",
|
|
"style": [
|
|
"file:./style-index.css",
|
|
"wp-components"
|
|
]
|
|
} |