extending to supporti core/list in innerblocks

This commit is contained in:
Antoine M 2023-11-08 12:24:44 +01:00
parent 336b96e1c3
commit 4513b0fbcf
8 changed files with 7 additions and 11 deletions

View File

@ -1 +1 @@
<?php return array('dependencies' => array('wp-block-editor', 'wp-blocks', 'wp-components', 'wp-data', 'wp-element', 'wp-i18n', 'wp-primitives'), 'version' => '5e57ae73692f9d55e423');
<?php return array('dependencies' => array('wp-block-editor', 'wp-blocks', 'wp-components', 'wp-data', 'wp-element', 'wp-i18n', 'wp-primitives'), 'version' => 'c6980dcf40b9e99bc900');

View File

@ -746,7 +746,7 @@ function Edit({
value: timelineStepSubtitle,
onChange: onChangeTimelineDescription
}), (0,_wordpress_element__WEBPACK_IMPORTED_MODULE_0__.createElement)(_wordpress_block_editor__WEBPACK_IMPORTED_MODULE_3__.InnerBlocks, {
allowedBlocks: ["core/paragraph"]
allowedBlocks: ["core/paragraph", "core/list"]
})))));
}

File diff suppressed because one or more lines are too long

View File

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

View File

@ -211,7 +211,7 @@ function Edit({
value: timelineStepSubtitle,
onChange: onChangeTimelineDescription
}), (0,_wordpress_element__WEBPACK_IMPORTED_MODULE_0__.createElement)(_wordpress_block_editor__WEBPACK_IMPORTED_MODULE_3__.InnerBlocks, {
allowedBlocks: ["core/paragraph"]
allowedBlocks: ["core/paragraph", "core/list"]
})))));
}

File diff suppressed because one or more lines are too long

View File

@ -1,4 +0,0 @@
/*!*****************************************************************************************************************************************************************************************************************************************************!*\
!*** css ./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[4].use[1]!./node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[4].use[2]!./node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[4].use[3]!./src/timeline-step/style.scss ***!
\*****************************************************************************************************************************************************************************************************************************************************/

View File

@ -266,7 +266,7 @@ export default function Edit({ attributes, setAttributes, ...props }) {
value={timelineStepSubtitle}
onChange={onChangeTimelineDescription}
/>
<InnerBlocks allowedBlocks={["core/paragraph"]} />
<InnerBlocks allowedBlocks={["core/paragraph", "core/list"]} />
</div>
</div>
</div>