Issue #1988💬 AnsweredOpened April 29, 2019by MisterFK1 reactions

Bug on resize image

Quick answerby afdallah1

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:

Read full answer below ↓

Question

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, 2019

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, 2019

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

artfMay 1, 2019

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...

Free option

Check the open-source GrapesJS plugins on GitHub or run a quick search in our free catalog.

Browse free plugins →
Premium option

Premium plugins ship with support, regular updates, and production-ready features — save days of integration work.

Browse premium plugins →

Browse Plugin Categories

Jump directly to plugin category pages on the marketplace.