adding core/button

This commit is contained in:
Antoine M 2023-11-08 15:15:11 +01:00
parent 0f205eac0b
commit 29c198387a
7 changed files with 9 additions and 7 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' => 'c6980dcf40b9e99bc900');
<?php return array('dependencies' => array('wp-block-editor', 'wp-blocks', 'wp-components', 'wp-data', 'wp-element', 'wp-i18n', 'wp-primitives'), 'version' => '34451237efdbd6a768cc');

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", "core/list"]
allowedBlocks: ["core/paragraph", "core/button", "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' => '6796afb3c9f90428f7d7');
<?php return array('dependencies' => array('wp-block-editor', 'wp-blocks', 'wp-components', 'wp-element', 'wp-i18n', 'wp-primitives'), 'version' => '39fa4af76919f7de94d1');

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", "core/list"]
allowedBlocks: ["core/paragraph", "core/button", "core/list"]
})))));
}

File diff suppressed because one or more lines are too long

View File

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