Add sizing option cover for background image on Drag and Drop Email Editor

Background

Currently, the drag and drop editor allows users to upload backhround images to their sections and choose between two sizing options:

- Tile: For pattern backgrounds

- Stretch: For large image backgrounds

I have an issue with the stretch option as it creates the background-size: 100% 100% property for the background which breaks the aspect ratio of the image and results in mishapen images on mobile. Ideally, I would be able to select an option to change the background-size property value to cover.

Requirements

Email drag and drop users will be able to select a third radio option for cover which would translate into the CSS property value: background-image: cover