Add width & height attributes to Gutenberg’s image output?
Images inserted via Gutenberg don’t have width & height attribute by default. I’d like to use those for lazy-loading purposes so image is positioned correctly.
Is there a hook or something to add width and height to output? Or should one extend the core block for this?
02 years 2020-12-30T20:10:31-05:00 2020-12-30T20:10:31-05:00 0 Answers 4 views 0
Leave an answer