setting the corresponding deconding value
This commit is contained in:
parent
062f068d74
commit
b2ea7b8745
1 changed files with 1 additions and 1 deletions
|
|
@ -75,7 +75,7 @@ export const imageShortcode = async (
|
||||||
height: lowsrc.height,
|
height: lowsrc.height,
|
||||||
alt,
|
alt,
|
||||||
loading,
|
loading,
|
||||||
decoding: 'async'
|
decoding: loading === 'eager' ? 'sync' : 'async'
|
||||||
});
|
});
|
||||||
|
|
||||||
const imageElement = caption
|
const imageElement = caption
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue