31 lines
658 B
JSON
31 lines
658 B
JSON
{
|
|
"$schema": "https://schemas.wp.org/trunk/block.json",
|
|
"apiVersion": 2,
|
|
"name": "tcpinball/matchplay-results",
|
|
"version": "0.1.0",
|
|
"title": "Matchplay Results",
|
|
"category": "widgets",
|
|
"icon": "embed-generic",
|
|
"description": "Show results from a matchplay tournament.",
|
|
"supports": {
|
|
"html": false
|
|
},
|
|
"textdomain": "matchplay",
|
|
"editorScript": "file:./index.js",
|
|
"editorStyle": "file:./index.css",
|
|
"style": "file:./style-index.css",
|
|
"attributes": {
|
|
"tournament_id": {
|
|
"type": "string",
|
|
"source": "attribute",
|
|
"selector": "div",
|
|
"attribute": "data-tournament-id",
|
|
"default": ""
|
|
},
|
|
"data": {
|
|
"type": "object"
|
|
}
|
|
}
|
|
|
|
}
|