Add empty alt attribute to uploaded pictures (for now)

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
Thomas Citharel 2022-11-04 16:15:31 +01:00
parent 5078f890ce
commit bc81b1830d
No known key found for this signature in database
GPG key ID: A061B9DDE0CA0773

View file

@ -428,6 +428,7 @@ uploadMediaDone(({ data }) => {
.focus() .focus()
.setImage({ .setImage({
src: data.uploadMedia.url, src: data.uploadMedia.url,
alt: '',
// eslint-disable-next-line @typescript-eslint/ban-ts-comment // eslint-disable-next-line @typescript-eslint/ban-ts-comment
// @ts-ignore // @ts-ignore
"data-media-id": data.uploadMedia.id, "data-media-id": data.uploadMedia.id,