GrapesJS / GrapesJS/mjml

Image dragging causing 'malformed-mjml' error

Open
#365 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
716
Forks
251
PR merge metrics
No merged PRs in 30d

Description

When image from file editor is dragged onto canvas at top or bottom, it shows outside the MJML tags and causes a 'malformed-MJML' error to appear in the console.

It seems like it is being dragged between the wrapper and the MJML.

Is there a way to change the wrapper from an html body tag so this issue doesn't occur?

![Screenshot 2024-07-18 at 1 13 06 PM](https://github.com/user-attachments/assets/8cea964e-7529-468c-bbe8-f235ae0d8b69)

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.