Skip to content

BUG: redo doesn't restore image #389

Description

@dominikagoral

GrapesJS version

  • I confirm to use the latest version of GrapesJS

GrapesJS MJML version

  • I confirm to use the latest version of GrapesJS MJML

What browser are you using?

Chrome v132

Reproducible demo link

https://grapesjs.com/demo-mjml.html

Describe the bug

Hello, I have come across a bug with image restoration.

Steps to reproduce:

  1. Add an image.
  2. Set the image to a custom one.
  3. Click "undo".
  4. Click "redo".

Current behavior: the image doesn't come back.
Expected result: the image is restored.

Note: This is only the case with mj-image in GrapesJS MJML, normal images in the main demo work correctly.

Thank you for your time and a great library :)

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
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions