Auto resize image to fit editor container

(Tbaatar) #1

Matrix Version:

Is it possible to auto resize the image in edit+ so that it fits the window/container of the editor?
Working with anything over 1000px just becomes difficult to work with.


(John gill) #2

You could do it with a little modification to your edit+ config, something like

.bodycopy_content_wrapper img {
    max-width: 100%;

should be fairly safe and prevent images from breaking out of the WYSIWYG area.

(Tbaatar) #3

Hi John,

Thanks for the tip. It did the trick.

It seems the body container for Edit+ is different for each asset type or at least for Standard Pave vs News Item.