mjml icon indicating copy to clipboard operation
mjml copied to clipboard

BUG: Wrapper component breaks when property is changed after deleting child section

Open akzhysparrow opened this issue 4 months ago • 1 comments

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?

  1. Go to the demo mjml page https://grapesjs.com/demo-mjml
  2. Drag and drop a wrapper component
  3. Delete one section from within the wrapper
  4. 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

akzhysparrow avatar Sep 30 '24 09:09 akzhysparrow