adding gravityforms/form in children list

This commit is contained in:
Antoine M 2023-11-22 13:48:35 +01:00
parent a87ef8bd7f
commit ea34c4e353
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' => 'a49d6084eb5bb2d8c58c');
<?php return array('dependencies' => array('wp-block-editor', 'wp-blocks', 'wp-components', 'wp-element', 'wp-i18n', 'wp-primitives'), 'version' => '35aab139987b0e9e1cbb');

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", "homegrade-content-blocks/section-titling"]
allowedBlocks: ["core/paragraph", "gravityforms/form", "homegrade-content-blocks/section-titling"]
})));
}

File diff suppressed because one or more lines are too long

View File

@ -103,6 +103,7 @@ export default function Edit({ attributes, setAttributes, ...props }) {
<InnerBlocks
allowedBlocks={[
"core/paragraph",
"gravityforms/form",
"homegrade-content-blocks/section-titling",
]}
/>