carhop__plugins__PROD-DEV/plugins/carhop-blocks/blocks/narrative-card/build/block.json
Antoine M 2659311e7a
All checks were successful
continuous-integration/drone/push Build is passing
FEATURE Handling a black and white version
2025-10-14 10:31:00 +02:00

46 lines
954 B
JSON

{
"$schema": "https://schemas.wp.org/trunk/block.json",
"apiVersion": 3,
"name": "carhop-blocks/narrative-card",
"version": "0.1.0",
"title": "Carte narrative",
"category": "carhop-blocks",
"icon": "smiley",
"description": "Une carte narrative",
"example": {},
"supports": {
"html": false
},
"textdomain": "carhop-blocks",
"editorScript": "file:./index.js",
"editorStyle": "file:./index.css",
"style": "file:./style-index.css",
"viewScript": "file:./view.js",
"attributes": {
"hasCover": {
"type": "boolean",
"default": true
},
"coverPosition": {
"type": "string",
"default": "right",
"enum": [
"left",
"right"
]
},
"coverId": {
"type": "number"
},
"coverUrl": {
"type": "string"
},
"coverAlt": {
"type": "string"
},
"blackWhiteCoverFilter": {
"type": "boolean",
"default": true
}
}
}