diff --git a/packages/volto-introduction-block/src/components/Blocks/Introduction/View.jsx b/packages/volto-introduction-block/src/components/Blocks/Introduction/View.jsx index aeacfd7..65ba7a2 100644 --- a/packages/volto-introduction-block/src/components/Blocks/Introduction/View.jsx +++ b/packages/volto-introduction-block/src/components/Blocks/Introduction/View.jsx @@ -1,15 +1,24 @@ import cx from 'classnames'; import { TextBlockView } from '@plone/volto-slate/blocks/Text'; +import { MaybeWrap } from '@plone/volto/components'; + +const LegacyWrapper = (props) => ( +
+
{props.children}
+
+); const IntroductionBlockView = (props) => { - const { className } = props; + const { blocksConfig } = props; + const isBlockModelv3 = blocksConfig?.introduction?.blockModel === 3; return ( -
-
- -
-
+ + + ); };