Skip to content

Commit

Permalink
Remove gridTeaserDisableAlignHandlersSchema move to VLT only for now
Browse files Browse the repository at this point in the history
  • Loading branch information
sneridagh committed Dec 11, 2024
1 parent 289b3ce commit 9f2f948
Showing 1 changed file with 0 additions and 12 deletions.
12 changes: 0 additions & 12 deletions packages/volto/src/components/manage/Blocks/Teaser/schema.js
Original file line number Diff line number Diff line change
Expand Up @@ -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;
};

0 comments on commit 9f2f948

Please sign in to comment.