Skip to content

BUG: Couldnt Resize image #6549

@yashvi2026

Description

@yashvi2026

GrapesJS version

  • I confirm to use the latest version of GrapesJS

What browser are you using?

Chrome

Reproducible demo link

https://codepen.io/Harshsne/pen/YPXdgmj

Describe the bug

How to reproduce the bug?

  1. upload an image
  2. change it to mobile view
  3. resize the image

Image

What is the expected behavior?
When manually changing width and height in style manager ,the image is resized.

What is the current behavior?
couldn't resize the image

Reason would be !important is not added when resizing image in canvas , so the original styles are not overridden.

Code of Conduct

  • I agree to follow this project's Code of Conduct

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions