updated plugin ActivityPub version 8.3.0
This commit is contained in:
@ -2,14 +2,26 @@
|
||||
"$schema": "https://schemas.wp.org/trunk/block.json",
|
||||
"name": "activitypub/follow-me",
|
||||
"apiVersion": 3,
|
||||
"version": "1.0.0",
|
||||
"version": "8.3.0",
|
||||
"title": "Follow me on the Fediverse",
|
||||
"category": "widgets",
|
||||
"description": "Display your Fediverse profile so that visitors can follow you.",
|
||||
"textdomain": "activitypub",
|
||||
"icon": "groups",
|
||||
"keywords": [
|
||||
"fediverse",
|
||||
"activitypub",
|
||||
"follow",
|
||||
"mastodon"
|
||||
],
|
||||
"example": {
|
||||
"attributes": {
|
||||
"className": "is-style-default"
|
||||
}
|
||||
},
|
||||
"supports": {
|
||||
"html": false,
|
||||
"interactivity": true,
|
||||
"color": {
|
||||
"gradients": true,
|
||||
"link": true,
|
||||
@ -25,34 +37,38 @@
|
||||
"color": true,
|
||||
"style": true
|
||||
},
|
||||
"shadow": true,
|
||||
"typography": {
|
||||
"fontSize": true,
|
||||
"__experimentalDefaultControls": {
|
||||
"fontSize": true
|
||||
}
|
||||
},
|
||||
"innerBlocks": {
|
||||
"allowedBlocks": [
|
||||
"core/button"
|
||||
]
|
||||
}
|
||||
},
|
||||
"styles": [
|
||||
{
|
||||
"name": "default",
|
||||
"label": "Default",
|
||||
"isDefault": true
|
||||
},
|
||||
{
|
||||
"name": "button-only",
|
||||
"label": "Button"
|
||||
},
|
||||
{
|
||||
"name": "profile",
|
||||
"label": "Profile"
|
||||
}
|
||||
],
|
||||
"attributes": {
|
||||
"selectedUser": {
|
||||
"type": "string",
|
||||
"default": "site"
|
||||
},
|
||||
"buttonOnly": {
|
||||
"type": "boolean",
|
||||
"default": false
|
||||
},
|
||||
"buttonText": {
|
||||
"type": "string",
|
||||
"default": "Follow"
|
||||
},
|
||||
"buttonSize": {
|
||||
"type": "string",
|
||||
"default": "default",
|
||||
"enum": [
|
||||
"small",
|
||||
"default",
|
||||
"compact"
|
||||
]
|
||||
"default": "blog"
|
||||
}
|
||||
},
|
||||
"usesContext": [
|
||||
@ -60,9 +76,8 @@
|
||||
"postId"
|
||||
],
|
||||
"editorScript": "file:./index.js",
|
||||
"viewScript": "file:./view.js",
|
||||
"style": [
|
||||
"file:./style-view.css",
|
||||
"wp-components"
|
||||
]
|
||||
"viewScriptModule": "file:./view.js",
|
||||
"viewScript": "wp-api-fetch",
|
||||
"style": "file:./style-index.css",
|
||||
"render": "file:./render.php"
|
||||
}
|
||||
Reference in New Issue
Block a user