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()
.setImage({
src: data.uploadMedia.url,
alt: '',
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
// @ts-ignore
"data-media-id": data.uploadMedia.id,