fix: make alt text mandatory on image
Signed-off-by: Filipe Medeiros <hello@filipesm.eu>
This commit is contained in:
parent
7566a7f2b2
commit
c527b818f4
|
@ -83,6 +83,12 @@ const blogPost = defineType({
|
|||
type: 'array',
|
||||
of: [{type: 'block'}],
|
||||
},
|
||||
{
|
||||
title: 'Alt text',
|
||||
name: 'altText',
|
||||
type: 'string',
|
||||
validation: (r) => r.required(),
|
||||
},
|
||||
],
|
||||
},
|
||||
],
|
||||
|
|
Loading…
Reference in a new issue