adding highlight innerblock support
This commit is contained in:
parent
b9e025d2e3
commit
0f22068330
|
|
@ -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');
|
||||
|
|
|
|||
|
|
@ -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
|
|
@ -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>
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user