handling innerBlocks such as pageCard
This commit is contained in:
parent
7b57772c92
commit
bbc5d883e3
|
|
@ -1 +1 @@
|
||||||
<?php return array('dependencies' => array('react', 'wp-block-editor', 'wp-blocks', 'wp-components', 'wp-element', 'wp-i18n', 'wp-primitives'), 'version' => 'bd0654b3242e44a3b8d4');
|
<?php return array('dependencies' => array('react', 'wp-block-editor', 'wp-blocks', 'wp-components', 'wp-element', 'wp-i18n', 'wp-primitives'), 'version' => 'e5ce9758e2e101ceee61');
|
||||||
|
|
|
||||||
|
|
@ -211,7 +211,7 @@ function Edit({
|
||||||
})
|
})
|
||||||
}, (0,react__WEBPACK_IMPORTED_MODULE_0__.createElement)(_wordpress_block_editor__WEBPACK_IMPORTED_MODULE_4__.InnerBlocks, {
|
}, (0,react__WEBPACK_IMPORTED_MODULE_0__.createElement)(_wordpress_block_editor__WEBPACK_IMPORTED_MODULE_4__.InnerBlocks, {
|
||||||
template: TEMPLATE,
|
template: TEMPLATE,
|
||||||
allowedBlocks: ["core/paragraph", "homegrade-content-blocks/post-card",
|
allowedBlocks: ["core/paragraph", "homegrade-content-blocks/post-card", "homegrade-content-blocks/page-card",
|
||||||
// "homegrade-content-blocks/column-card",
|
// "homegrade-content-blocks/column-card",
|
||||||
"homegrade-content-blocks/card-free"]
|
"homegrade-content-blocks/card-free"]
|
||||||
})));
|
})));
|
||||||
|
|
|
||||||
File diff suppressed because one or more lines are too long
|
|
@ -73,6 +73,7 @@ export default function Edit({ attributes, setAttributes, clientId }) {
|
||||||
allowedBlocks={[
|
allowedBlocks={[
|
||||||
"core/paragraph",
|
"core/paragraph",
|
||||||
"homegrade-content-blocks/post-card",
|
"homegrade-content-blocks/post-card",
|
||||||
|
"homegrade-content-blocks/page-card",
|
||||||
// "homegrade-content-blocks/column-card",
|
// "homegrade-content-blocks/column-card",
|
||||||
"homegrade-content-blocks/card-free",
|
"homegrade-content-blocks/card-free",
|
||||||
]}
|
]}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user