carhop__plugins__PROD-DEV/plugins/carhop-blocks/build/cta/block.json
Antoine M 5dc6ea260d
All checks were successful
continuous-integration/drone/push Build is passing
CHORE REFACTOR upgrading plugin to handle a unique monopackage bundler
2025-11-20 11:06:56 +01:00

37 lines
787 B
JSON

{
"$schema": "https://schemas.wp.org/trunk/block.json",
"apiVersion": 3,
"name": "carhop-blocks/cta",
"version": "0.1.0",
"title": "Cta",
"category": "carhop-blocks",
"icon": "smiley",
"description": "Un bouton de lien",
"example": {},
"supports": {
"html": false
},
"textdomain": "carhop-blocks",
"editorScript": "file:./index.js",
"editorStyle": "file:./index.css",
"style": "file:./style-index.css",
"viewScript": "file:./view.js",
"render": "file:./render.php",
"attributes": {
"text": {
"type": "string",
"default": "Call to action"
},
"link": {
"type": "object"
},
"align": {
"type": "string",
"default": "left"
},
"color": {
"type": "string",
"default": null
}
}
}