diff --git a/packages/volto/src/components/manage/Blocks/Teaser/schema.js b/packages/volto/src/components/manage/Blocks/Teaser/schema.js index 2d3db65e2b..0950a0a909 100644 --- a/packages/volto/src/components/manage/Blocks/Teaser/schema.js +++ b/packages/volto/src/components/manage/Blocks/Teaser/schema.js @@ -127,15 +127,3 @@ export const gridTeaserDisableStylingSchema = ({ schema, formData, intl }) => { schema.fieldsets = schema.fieldsets.filter((item) => item.id !== 'styling'); return schema; }; - -export const gridTeaserDisableAlignHandlersSchema = ({ - schema, - formData, - intl, -}) => { - schema.properties.styles.schema.fieldsets[0].fields = - schema.properties.styles.schema.fieldsets[0].fields.filter( - (item) => !['align'].includes(item), - ); - return schema; -};