and created config.json in my_theme/blocks/mainblock/
{
"groups": "content",
"template": "template.hbs",
"settings": [{
"name": "block_id",
"label": "Block's id",
"type": "text"
},
{
"name": "header",
"label": "Block's title",
"type": "text"
},
{
"name": "content",
"label": "Сontent",
"type": "textarea"
}],
"defaults": {
"block_id": "",
"header": "Qoob Page Builder",
"content": "<p>Qoob website builder offers a great number of tools and features with an intuitive interface for free.</p>"
}
}
But when the qoob is loaded, I get an error:
loader.min.js:1 GET /wp-content/themes/my_theme/blocks/%lib_url%/blocks/mainblock/config.json 400 (Bad Request)
strange path to the config.json file is displayed.
What could be the problem?
Thank.
Hi. I created file lib.json in block directory
and created config.json in my_theme/blocks/mainblock/
But when the qoob is loaded, I get an error: loader.min.js:1 GET /wp-content/themes/my_theme/blocks/%lib_url%/blocks/mainblock/config.json 400 (Bad Request) strange path to the config.json file is displayed. What could be the problem? Thank.