handling new nnerblocks
This commit is contained in:
parent
197830a51a
commit
b6c0ee4b8f
|
|
@ -1 +1 @@
|
||||||
<?php return array('dependencies' => array('react', 'wp-block-editor', 'wp-blocks', 'wp-element', 'wp-i18n'), 'version' => 'b4f7dfe0e7d35ce63e9a');
|
<?php return array('dependencies' => array('react', 'wp-block-editor', 'wp-blocks', 'wp-element', 'wp-i18n'), 'version' => '5183afb6edd301b0d52a');
|
||||||
|
|
|
||||||
|
|
@ -94,7 +94,7 @@ function Edit({
|
||||||
}))), (0,_wordpress_element__WEBPACK_IMPORTED_MODULE_0__.createElement)("div", {
|
}))), (0,_wordpress_element__WEBPACK_IMPORTED_MODULE_0__.createElement)("div", {
|
||||||
className: "homegrade-blocks-accordeon-panel-content__content-wrapper"
|
className: "homegrade-blocks-accordeon-panel-content__content-wrapper"
|
||||||
}, (0,_wordpress_element__WEBPACK_IMPORTED_MODULE_0__.createElement)(_wordpress_block_editor__WEBPACK_IMPORTED_MODULE_4__.InnerBlocks, {
|
}, (0,_wordpress_element__WEBPACK_IMPORTED_MODULE_0__.createElement)(_wordpress_block_editor__WEBPACK_IMPORTED_MODULE_4__.InnerBlocks, {
|
||||||
allowedBlocks: ["homegrade-content-blocks/content-heading", "homegrade-content-blocks/text-image", "core/paragraph", "core/list"],
|
allowedBlocks: ["homegrade-content-blocks/content-heading", "homegrade-content-blocks/text-image", "core/paragraph", "core/list", "homegrade-content-blocks/highlight", "core/button", "core/buttons"],
|
||||||
template: [["homegrade-content-blocks/content-heading", {
|
template: [["homegrade-content-blocks/content-heading", {
|
||||||
title: "Au-delà des Murs",
|
title: "Au-delà des Murs",
|
||||||
headingLevel: "h5"
|
headingLevel: "h5"
|
||||||
|
|
|
||||||
File diff suppressed because one or more lines are too long
|
|
@ -1 +1 @@
|
||||||
<?php return array('dependencies' => array('react', 'wp-block-editor', 'wp-blocks', 'wp-element', 'wp-i18n'), 'version' => 'cb05dc80491bcdcfd5f6');
|
<?php return array('dependencies' => array('react', 'wp-block-editor', 'wp-blocks', 'wp-element', 'wp-i18n'), 'version' => '6da27b462aea423abd1a');
|
||||||
|
|
|
||||||
|
|
@ -94,7 +94,7 @@ function Edit({
|
||||||
}))), (0,_wordpress_element__WEBPACK_IMPORTED_MODULE_0__.createElement)("div", {
|
}))), (0,_wordpress_element__WEBPACK_IMPORTED_MODULE_0__.createElement)("div", {
|
||||||
className: "homegrade-blocks-accordeon-panel-content__content-wrapper"
|
className: "homegrade-blocks-accordeon-panel-content__content-wrapper"
|
||||||
}, (0,_wordpress_element__WEBPACK_IMPORTED_MODULE_0__.createElement)(_wordpress_block_editor__WEBPACK_IMPORTED_MODULE_4__.InnerBlocks, {
|
}, (0,_wordpress_element__WEBPACK_IMPORTED_MODULE_0__.createElement)(_wordpress_block_editor__WEBPACK_IMPORTED_MODULE_4__.InnerBlocks, {
|
||||||
allowedBlocks: ["homegrade-content-blocks/content-heading", "homegrade-content-blocks/text-image", "core/paragraph", "core/list"],
|
allowedBlocks: ["homegrade-content-blocks/content-heading", "homegrade-content-blocks/text-image", "core/paragraph", "core/list", "homegrade-content-blocks/highlight", "core/button", "core/buttons"],
|
||||||
template: [["homegrade-content-blocks/content-heading", {
|
template: [["homegrade-content-blocks/content-heading", {
|
||||||
title: "Au-delà des Murs",
|
title: "Au-delà des Murs",
|
||||||
headingLevel: "h5"
|
headingLevel: "h5"
|
||||||
|
|
|
||||||
File diff suppressed because one or more lines are too long
|
|
@ -37,6 +37,9 @@ export default function Edit({ attributes, setAttributes, ...props }) {
|
||||||
"homegrade-content-blocks/text-image",
|
"homegrade-content-blocks/text-image",
|
||||||
"core/paragraph",
|
"core/paragraph",
|
||||||
"core/list",
|
"core/list",
|
||||||
|
"homegrade-content-blocks/highlight",
|
||||||
|
"core/button",
|
||||||
|
"core/buttons",
|
||||||
]}
|
]}
|
||||||
template={[
|
template={[
|
||||||
[
|
[
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user