setting the corresponding deconding value

This commit is contained in:
madrilene 2024-06-04 12:17:41 +02:00
parent 062f068d74
commit b2ea7b8745

View file

@ -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