Open brian-c opened 3 years ago
Hey, I'm sorry we failed to give this issue any attention until then. We'll make sure to take that into account as we move forward with this kit. We're currently reworking it to provide first-class TypeScript support and a better interface ☺️
Images from rich text areas display at low resolution on high DPI devices.
Including the
&dpr=${window.devicePixelRatio}
query param requests the image at the appropriate resolution.width
andheight
attributes would keep the image at the right size (and should probably be present regardless of DPI to prevent the page jumping around while images load).