mjml
mjml copied to clipboard
BUG: Wrapper component breaks when property is changed after deleting child section
GrapesJS version
- [X] I confirm to use the latest version of GrapesJS
GrapesJS MJML version
- [X] I confirm to use the latest version of GrapesJS MJML
What browser are you using?
Brave Version 1.70.119 Chromium: 129.0.6668.70
Reproducible demo link
https://grapesjs.com/demo-mjml
Describe the bug
How to reproduce the bug?
- Go to the demo mjml page https://grapesjs.com/demo-mjml
- Drag and drop a wrapper component
- Delete one section from within the wrapper
- Select the wrapper and change any of its properties
What is the expected behavior?
The property change should be reflected without affecting the child components
What is the current behavior?
All the child elements inside the wrapper disappears
https://github.com/user-attachments/assets/d4e7f077-0def-4885-a986-dec2547adb48
Code of Conduct
- [X] I agree to follow this project's Code of Conduct