lhoist-stay-safe__backend-t.../blocks/search-and-find/build/focus-object/block.json
2024-02-13 19:13:51 +01:00

54 lines
1.1 KiB
JSON

{
"$schema": "https://schemas.wp.org/trunk/block.json",
"apiVersion": 2,
"name": "lhoist-content-blocks/focus-object",
"version": "0.1.0",
"title": "Object Clickable",
"category": "lhoist-content-blocks",
"description": "Block pour insérer un objet dans le search and find",
"supports": {
"html": false
},
"textdomain": "focus-object",
"editorScript": "file:./index.js",
"editorStyle": "file:./index.css",
"style": "file:./style-index.css",
"attributes": {
"objectPictureUrl": {
"type": "string",
"default": ""
},
"objectPictureId": {
"type": "number"
},
"objectPictureAlt": {
"type": "string",
"default": ""
},
"behaviourType": {
"type": "string"
},
"focusTitle": {
"type": "string",
"default": "Légende Sans titre"
},
"objectBehaviourDescription": {
"type": "string"
},
"focusIndex": {
"type": "number",
"default": 0
},
"objectScale": {
"type": "number",
"default": 20
},
"objectPosition": {
"type": "object",
"default": {
"x": 0.5,
"y": 0.5
}
}
}
}