wordpress-activitypub/build/follow-me/block.json
Matt Wiebe 0982c85f86
Abstract shared Dialog code (#723)
* Create and use DRYer shared Dialog component

* Add `copyDescription` to the shared modal

* Built assets

* the wp-scripts package now emits a different style

Previously, it emitted `style-index.css`, now it emits `style-view.css` which seems like a potential bug worth monitoring

---------

Co-authored-by: Matthias Pfefferle <pfefferle@users.noreply.github.com>
2024-04-11 15:10:37 +02:00

47 lines
No EOL
1 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"
]
}