hadnling anchors

This commit is contained in:
Antoine M 2024-02-26 15:53:45 +01:00
parent 6b96ef43fd
commit ff5abe730b
4 changed files with 6 additions and 4 deletions

View File

@ -7,7 +7,8 @@
"category": "homegrade-blocks",
"description": "Pour la création de timeline",
"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-data', 'wp-element', 'wp-i18n', 'wp-primitives'), 'version' => '511d7f4ee6b5886d98a7');
<?php return array('dependencies' => array('wp-block-editor', 'wp-blocks', 'wp-components', 'wp-data', 'wp-element', 'wp-i18n', 'wp-primitives'), 'version' => '63fc513c94240cd7141a');

View File

@ -847,7 +847,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/timeline","version":"0.1.0","title":"Timeline","category":"homegrade-blocks","description":"Pour la création de timeline","supports":{"html":false},"textdomain":"homegrade-blocks","editorScript":"file:./index.js","editorStyle":"file:./index.css","style":"file:./style-index.css","attributes":{"hasTitle":{"type":"boolean","default":true},"blockTitle":{"type":"string"},"blockSubtitle":{"type":"string"},"hasLateralCover":{"type":"boolean","default":false},"lateralCoverId":{"type":"number"},"lateralCoverUrl":{"type":"string"},"lateralCoverAlt":{"type":"string"},"lateralCoverCaption":{"type":"string"},"lateralCoverDescription":{"type":"string"},"hasStepPictures":{"type":"boolean","default":true},"hasStepIcons":{"type":"boolean","default":true},"lateralPicturesFormat":{"type":"string","default":"md"}}}');
module.exports = JSON.parse('{"$schema":"https://schemas.wp.org/trunk/block.json","apiVersion":2,"name":"homegrade-content-blocks/timeline","version":"0.1.0","title":"Timeline","category":"homegrade-blocks","description":"Pour la création de timeline","supports":{"html":false,"anchor":true},"textdomain":"homegrade-blocks","editorScript":"file:./index.js","editorStyle":"file:./index.css","style":"file:./style-index.css","attributes":{"hasTitle":{"type":"boolean","default":true},"blockTitle":{"type":"string"},"blockSubtitle":{"type":"string"},"hasLateralCover":{"type":"boolean","default":false},"lateralCoverId":{"type":"number"},"lateralCoverUrl":{"type":"string"},"lateralCoverAlt":{"type":"string"},"lateralCoverCaption":{"type":"string"},"lateralCoverDescription":{"type":"string"},"hasStepPictures":{"type":"boolean","default":true},"hasStepIcons":{"type":"boolean","default":true},"lateralPicturesFormat":{"type":"string","default":"md"}}}');
/***/ }),

View File

@ -7,7 +7,8 @@
"category": "homegrade-blocks",
"description": "Pour la création de timeline",
"supports": {
"html": false
"html": false,
"anchor": true
},
"textdomain": "homegrade-blocks",
"editorScript": "file:./index.js",