adding highlight innerblock support

This commit is contained in:
Antoine M 2023-12-07 17:15:44 +01:00
parent b9e025d2e3
commit 0f22068330
4 changed files with 4 additions and 3 deletions

View File

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

View File

@ -99,7 +99,7 @@ function Edit({
src: illustrationUrl,
alt: illustrationAlt
}), (0,_wordpress_element__WEBPACK_IMPORTED_MODULE_0__.createElement)(_wordpress_block_editor__WEBPACK_IMPORTED_MODULE_3__.InnerBlocks, {
allowedBlocks: ["core/paragraph", "core/list", "core/button", "core/buttons", "gravityforms/form", "homegrade-content-blocks/section-titling"]
allowedBlocks: ["core/paragraph", "core/list", "core/button", "core/buttons", "gravityforms/form", "homegrade-content-blocks/section-titling", "homegrade-content-blocks/highlight"]
})));
}

File diff suppressed because one or more lines are too long

View File

@ -108,6 +108,7 @@ export default function Edit({ attributes, setAttributes, ...props }) {
"core/buttons",
"gravityforms/form",
"homegrade-content-blocks/section-titling",
"homegrade-content-blocks/highlight",
]}
/>
</div>