I have a single-image container that I need to resize when editing the content. The size should adjust based on the incoming content. See the images of the containers below:
Image 1: This is the container before clicking on the edit button.
https://i.sstatic.net/fgAog.png
Image 2: This is the container before clicking on the edit button.