GrapesJS / grapesjs

Free and Open source Web Builder Framework. Next generation tool for building templates without coding
https://grapesjs.com
BSD 3-Clause "New" or "Revised" License
22.38k stars 4.06k forks source link

BUG: Editor Undo is removing collection and unable to replace the component #3161

Closed ssmanoj-grapes closed 3 years ago

ssmanoj-grapes commented 3 years ago

The collection of the selected component before Undo element-collection-before-u

The collection of the selected component after Undo element-collection-after-un

Code to replace the component with new component code

Uncaught TypeError: n.getEl is not a function and Uncaught TypeError: t.getSelectors is not function are the errors reported on save. I’m unable to replace the selected component with new component.

artf commented 3 years ago

Sorry, but without a reproducible demo, this issue doesn't make sense to me

ssmanoj-grapes commented 3 years ago

Hi artf,

Please find the demo video of the issue grapejs-issue.zip.

artf commented 3 years ago

Ok, as you're not able to create a reproducible demo, I have to close this...