Issue #1988Opened April 29, 2019by MisterFK1 reactions

bug on resize image

Question

Code SnippetTEXT
Hi !
I have some issues when i want resize an image.
When i put an image and when i click one resizer handler, the image don't keep his height but expand it to 100% of parent container...
I didn't found an option into the "resizable" option to disable that :
`editor.DomComponents.addType('image', {
    model: {
        defaults: {
            resizable: {
                step: 0.05,
                minDim:1,
                maxDim:100,
                unitHeight: '%',
                unitWidth: '%',
                currentUnit:0,
            }
        }
    }
});`

For context, the image has a absolute position.
Thanks for help !

Answers (3)

afdallahApril 29, 20191 reactions

It would be easier for everybody here to help you if you can provide a live demo. I experienced the same issue, but in my case, it was because I set the image height to auto.

Here is the example of my old issue:

Image of demo

MisterFKApril 29, 20190 reactions

Thanks but it's not the same issue. I take a video to show the problem : ezgif com-video-to-gif

artfMay 1, 20190 reactions

Thanks for the report @MisterFK can you provide a live demo of the issue, please?

Related Questions and Answers

Continue research with similar issue discussions.

Paid Plugins That Match This Issue

Curated by issue keywords and label relevance to help you ship faster.

View all plugins

Loading paid plugin recommendations...

Browse Plugin Categories

Jump directly to plugin category pages on the marketplace.