diff --git a/src/schema/validators/common.ts b/src/schema/validators/common.ts index 7da3ad633..6ca975270 100644 --- a/src/schema/validators/common.ts +++ b/src/schema/validators/common.ts @@ -23,7 +23,7 @@ export const playIconThemes = ['blue', 'grey']; export const videoControlsTypes = [MediaVideoControlsType.Default, MediaVideoControlsType.Custom]; export const fileLinkTypes = ['vertical', 'horizontal']; -export const dividerEnum = {enum: [0, 'xxs', 'xs', 's', 'm', 'l', 'xl', 'xxl', 'xxxl']}; +export const dividerEnum = {enum: ['0', 'xxs', 'xs', 's', 'm', 'l', 'xl', 'xxl', 'xxxl']}; export const sizeNumber = {type: 'number', maximum: 12, minimum: 1}; export const contentThemes = ['default', 'dark', 'light']; export const quoteTypes = Object.values(QuoteType); @@ -529,6 +529,14 @@ export const BlockBaseProps = { context: { type: 'string', }, + indent: { + type: 'object', + additionalProperties: false, + properties: { + top: dividerEnum, + bottom: dividerEnum, + }, + }, }; export const TitleProps = {