carhop__plugins__PROD-DEV/plugins/carhop-blocks/build/heading/block.json
Antoine M 33ff9faa0d
All checks were successful
continuous-integration/drone/push Build is passing
FEATURE Adding a stroked after block style
2025-11-26 11:58:35 +01:00

35 lines
780 B
JSON

{
"$schema": "https://schemas.wp.org/trunk/block.json",
"apiVersion": 3,
"name": "carhop-blocks/heading",
"version": "0.1.0",
"title": "Titrage",
"category": "carhop-blocks",
"icon": "smiley",
"description": "Boite de titrage pour la mise en forme d'éléments de contenu",
"example": {},
"supports": {
"html": false
},
"textdomain": "carhop-blocks",
"editorScript": "file:./index.js",
"editorStyle": "file:./index.css",
"style": "file:./style-index.css",
"viewScript": "file:./view.js",
"styles": [
{
"name": "stroked-after",
"label": "Titre + trait "
}
],
"attributes": {
"hierarchy": {
"type": "string",
"enum": [
"classic",
"inverted"
],
"default": "classic"
}
}
}