Add empty alt attribute to uploaded pictures (for now)
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
parent
5078f890ce
commit
bc81b1830d
@ -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,
|
||||||
|
Loading…
Reference in New Issue
Block a user