diff --git a/packages/volto/news/6527.bugfix b/packages/volto/news/6527.bugfix new file mode 100644 index 0000000000..4a00c421f7 --- /dev/null +++ b/packages/volto/news/6527.bugfix @@ -0,0 +1 @@ +Add missing styleWrapper style builder information in container/Grid. @sneridagh diff --git a/packages/volto/news/6527.feature b/packages/volto/news/6527.feature new file mode 100644 index 0000000000..09ccd3175d --- /dev/null +++ b/packages/volto/news/6527.feature @@ -0,0 +1 @@ +Add disable Teaser block Align handlers for teasers inside containers. @sneridagh diff --git a/packages/volto/src/components/manage/Blocks/Container/EditBlockWrapper.jsx b/packages/volto/src/components/manage/Blocks/Container/EditBlockWrapper.jsx index 20d22753a6..60a2c5c952 100644 --- a/packages/volto/src/components/manage/Blocks/Container/EditBlockWrapper.jsx +++ b/packages/volto/src/components/manage/Blocks/Container/EditBlockWrapper.jsx @@ -4,7 +4,7 @@ import { defineMessages, useIntl } from 'react-intl'; import NewBlockAddButton from './NewBlockAddButton'; import cx from 'classnames'; import { isInteractiveElement } from '@plone/volto/helpers/Utils/Utils'; - +import { buildStyleObjectFromData } from '@plone/volto/helpers/Blocks/Blocks'; import clearSVG from '@plone/volto/icons/clear.svg'; const messages = defineMessages({ @@ -38,12 +38,15 @@ const EditBlockWrapper = (props) => { onChangeBlock(block, { '@type': 'empty' }); } + const style = buildStyleObjectFromData(data); + return (