hadnling anchor attribute

This commit is contained in:
Antoine M 2023-11-28 16:09:24 +01:00
parent b6c0ee4b8f
commit 99b5273e5e
12 changed files with 18 additions and 12 deletions

View File

@ -7,7 +7,8 @@
"category": "homegrade-blocks",
"description": "Section / Boite de gestion contenu ",
"supports": {
"html": false
"html": false,
"anchor": true
},
"textdomain": "homegrade-blocks",
"editorScript": "file:./index.js",

View File

@ -1 +1 @@
<?php return array('dependencies' => array('wp-block-editor', 'wp-blocks', 'wp-components', 'wp-element', 'wp-i18n'), 'version' => 'f3a3faade40ed5c61a1d');
<?php return array('dependencies' => array('wp-block-editor', 'wp-blocks', 'wp-components', 'wp-element', 'wp-i18n'), 'version' => '95446749a29397add896');

View File

@ -231,7 +231,7 @@ module.exports = window["wp"]["i18n"];
\************************/
/***/ ((module) => {
module.exports = JSON.parse('{"$schema":"https://schemas.wp.org/trunk/block.json","apiVersion":2,"name":"homegrade-content-blocks/content-box","version":"0.1.0","title":"Content Box","category":"homegrade-blocks","description":"Section / Boite de gestion contenu ","supports":{"html":false},"textdomain":"homegrade-blocks","editorScript":"file:./index.js","editorStyle":"file:./index.css","style":"file:./style-index.css","attributes":{"bgColor":{"type":"string","default":"#F5F5F5"}}}');
module.exports = JSON.parse('{"$schema":"https://schemas.wp.org/trunk/block.json","apiVersion":2,"name":"homegrade-content-blocks/content-box","version":"0.1.0","title":"Content Box","category":"homegrade-blocks","description":"Section / Boite de gestion contenu ","supports":{"html":false,"anchor":true},"textdomain":"homegrade-blocks","editorScript":"file:./index.js","editorStyle":"file:./index.css","style":"file:./style-index.css","attributes":{"bgColor":{"type":"string","default":"#F5F5F5"}}}');
/***/ })

View File

@ -7,7 +7,8 @@
"category": "homegrade-blocks",
"description": "Section / Boite de gestion contenu ",
"supports": {
"html": false
"html": false,
"anchor": true
},
"textdomain": "homegrade-blocks",
"editorScript": "file:./index.js",

View File

@ -9,7 +9,8 @@
"description": "Bloc de titrage h2/h3/h4 avec ou sans icône",
"supports": {
"html": false,
"renaming": true
"renaming": true,
"anchor": true
},
"textdomain": "homegrade-theme__bloks-texte-fonctionnel",
"editorScript": "file:./index.js",

View File

@ -1 +1 @@
<?php return array('dependencies' => array('wp-block-editor', 'wp-blocks', 'wp-components', 'wp-data', 'wp-element', 'wp-i18n', 'wp-primitives'), 'version' => '1e4867ee8ca0c980f729');
<?php return array('dependencies' => array('wp-block-editor', 'wp-blocks', 'wp-components', 'wp-data', 'wp-element', 'wp-i18n', 'wp-primitives'), 'version' => 'e94fc5be6541670e54d9');

View File

@ -415,7 +415,7 @@ module.exports = window["wp"]["primitives"];
\************************/
/***/ ((module) => {
module.exports = JSON.parse('{"$schema":"https://schemas.wp.org/trunk/block.json","apiVersion":2,"name":"homegrade-content-blocks/content-heading","version":"0.1.0","title":"Titre","category":"homegrade-blocks","icon":"smiley","description":"Bloc de titrage h2/h3/h4 avec ou sans icône","supports":{"html":false,"renaming":true},"textdomain":"homegrade-theme__bloks-texte-fonctionnel","editorScript":"file:./index.js","editorStyle":"file:./index.css","style":"file:./style-index.css","attributes":{"title":{"type":"string"},"headingLevel":{"type":"string","default":"h3"},"hasIcon":{"type":"boolean","default":false},"iconName":{"type":"string","default":"key"}}}');
module.exports = JSON.parse('{"$schema":"https://schemas.wp.org/trunk/block.json","apiVersion":2,"name":"homegrade-content-blocks/content-heading","version":"0.1.0","title":"Titre","category":"homegrade-blocks","icon":"smiley","description":"Bloc de titrage h2/h3/h4 avec ou sans icône","supports":{"html":false,"renaming":true,"anchor":true},"textdomain":"homegrade-theme__bloks-texte-fonctionnel","editorScript":"file:./index.js","editorStyle":"file:./index.css","style":"file:./style-index.css","attributes":{"title":{"type":"string"},"headingLevel":{"type":"string","default":"h3"},"hasIcon":{"type":"boolean","default":false},"iconName":{"type":"string","default":"key"}}}');
/***/ })

View File

@ -9,7 +9,8 @@
"description": "Bloc de titrage h2/h3/h4 avec ou sans icône",
"supports": {
"html": false,
"renaming": true
"renaming": true,
"anchor": true
},
"textdomain": "homegrade-theme__bloks-texte-fonctionnel",
"editorScript": "file:./index.js",

View File

@ -7,7 +7,8 @@
"category": "homegrade-blocks",
"description": "Bloc conteneur d'une seule colonne",
"supports": {
"html": false
"html": false,
"anchor": true
},
"parent": [
"homegrade-content-blocks/content-box"

View File

@ -1 +1 @@
<?php return array('dependencies' => array('wp-block-editor', 'wp-blocks', 'wp-components', 'wp-element', 'wp-i18n', 'wp-primitives'), 'version' => 'b26fca562956a1696d6f');
<?php return array('dependencies' => array('wp-block-editor', 'wp-blocks', 'wp-components', 'wp-element', 'wp-i18n', 'wp-primitives'), 'version' => '9c843b29dd80b19c921a');

View File

@ -306,7 +306,7 @@ module.exports = window["wp"]["primitives"];
\************************/
/***/ ((module) => {
module.exports = JSON.parse('{"$schema":"https://schemas.wp.org/trunk/block.json","apiVersion":2,"name":"homegrade-content-blocks/box-monoblock","version":"0.1.0","title":"Monobloc","category":"homegrade-blocks","description":"Bloc conteneur d\'une seule colonne","supports":{"html":false},"parent":["homegrade-content-blocks/content-box"],"textdomain":"homegrade-blocks","editorScript":"file:./index.js","editorStyle":"file:./index.css","style":"file:./style-index.css","attributes":{"hasIllustration":{"type":"boolean","default":false},"illustrationUrl":{"type":"string"},"illustrationId":{"type":"string"},"illustrationAlt":{"type":"string"}}}');
module.exports = JSON.parse('{"$schema":"https://schemas.wp.org/trunk/block.json","apiVersion":2,"name":"homegrade-content-blocks/box-monoblock","version":"0.1.0","title":"Monobloc","category":"homegrade-blocks","description":"Bloc conteneur d\'une seule colonne","supports":{"html":false,"anchor":true},"parent":["homegrade-content-blocks/content-box"],"textdomain":"homegrade-blocks","editorScript":"file:./index.js","editorStyle":"file:./index.css","style":"file:./style-index.css","attributes":{"hasIllustration":{"type":"boolean","default":false},"illustrationUrl":{"type":"string"},"illustrationId":{"type":"string"},"illustrationAlt":{"type":"string"}}}');
/***/ })

View File

@ -7,7 +7,8 @@
"category": "homegrade-blocks",
"description": "Bloc conteneur d'une seule colonne",
"supports": {
"html": false
"html": false,
"anchor": true
},
"parent": [
"homegrade-content-blocks/content-box"