Mailwizz drag and drop builder doesn't work for editing elements when template is saved

fabyc

Active Member
Hi

I'm testing Mailwizz drag and drop template builder and it doesn't work for editing elements when template is saved, I mean, first time I add an element, it is possible to update it, then, when I save it and I want to update the element again, I only have a blank page (on the right side) instead or doesn't work the updating of previous added elements.

In the attached image you can see I'm talking about.

PD: All the elements were added with drag and drop editor.

MW: 1.4.9

Thanks
 

Attachments

  • 2017-11-09-drag-and-drop-editor-doesnt-work-well.gif
    2017-11-09-drag-and-drop-editor-doesnt-work-well.gif
    389.7 KB · Views: 25
@Fabyc - Thanks for reporting, it seems that it happens for some people only which makes it a bit hard to debug, but i have forwarded the issues to the team that developed the drag and drop builder and we will have an update next week.
 
Hi @twisted1919
This is the launched error [1] from browser console when trying to update an element. I hope it can be useful for fixing it.

Thanks

[1]
Code:
Uncaught TypeError: Cannot read property 'blockType' of undefined
    at t.value (TemplateEditPanel.js:171)
    at p._renderValidatedComponentWithoutOwnerOrContext (ReactCompositeComponent.js:798)
    at p._renderValidatedComponent (ReactCompositeComponent.js:821)
    at performInitialMount (ReactCompositeComponent.js:361)
    at p.mountComponent (ReactCompositeComponent.js:257)
    at Object.mountComponent (ReactReconciler.js:45)
    at Object.updateChildren (ReactChildReconciler.js:121)
    at m._reconcilerUpdateChildren (ReactMultiChild.js:211)
    at m._updateChildren (ReactMultiChild.js:310)
    at m.updateChildren (ReactMultiChild.js:297)
 
Hi @twisted1919

Still the same error. Now there is launched other error too.
Code:
Uncaught TypeError: Cannot read property 'blockType' of undefined
    at t.value (TemplateEditPanel.js:171)
    at p._renderValidatedComponentWithoutOwnerOrContext (ReactCompositeComponent.js:798)
    at p._renderValidatedComponent (ReactCompositeComponent.js:821)
    at performInitialMount (ReactCompositeComponent.js:361)
    at p.mountComponent (ReactCompositeComponent.js:257)
    at Object.mountComponent (ReactReconciler.js:45)
    at Object.updateChildren (ReactChildReconciler.js:121)
    at m._reconcilerUpdateChildren (ReactMultiChild.js:211)
    at m._updateChildren (ReactMultiChild.js:310)
    at m.updateChildren (ReactMultiChild.js:297)

Uncaught TypeError: Cannot read property 'getBoundingClientRect' of null
    at t.value (index.js:1)

Thanks
 
Seems like the error is launched only in saved templates created before update to 1.5.0.

The solution is delete all saved elements in template or create a new template in this new version.

Thanks

Hi @twisted1919


Still the same error. Now there is launched other error too.
Code:
Uncaught TypeError: Cannot read property 'blockType' of undefined
    at t.value (TemplateEditPanel.js:171)
    at p._renderValidatedComponentWithoutOwnerOrContext (ReactCompositeComponent.js:798)
    at p._renderValidatedComponent (ReactCompositeComponent.js:821)
    at performInitialMount (ReactCompositeComponent.js:361)
    at p.mountComponent (ReactCompositeComponent.js:257)
    at Object.mountComponent (ReactReconciler.js:45)
    at Object.updateChildren (ReactChildReconciler.js:121)
    at m._reconcilerUpdateChildren (ReactMultiChild.js:211)
    at m._updateChildren (ReactMultiChild.js:310)
    at m.updateChildren (ReactMultiChild.js:297)

Uncaught TypeError: Cannot read property 'getBoundingClientRect' of null
    at t.value (index.js:1)

Thanks
 
@Fabyc - yeah, sorry about that, some templates might require you to remove them and add them again, as i said, we're really just starting with this builder, so we're aware we're going to get various issues for a while, but we're committed to it ;)
 
@Fabyc - yeah, sorry about that, some templates might require you to remove them and add them again, as i said, we're really just starting with this builder, so we're aware we're going to get various issues for a while, but we're committed to it ;)
@twisted1919, will this be an issue for future updates as well? If we upgrade to future updates from 1.5.0, will this happen?

THanks
 
@corey34 - i am hoping not, but i cannot guarantee :-s
Good to know, thanks. I'm hesitant to enable the drag and drop without the confidence in this happening. Is this something that you feel at some point you can be confident in or will this maybe be something that is always a small risk? I'm curious so I know how to plan for it.
 
Well, i would say the editor is good enough to be used at this point, so you should go for it, this risk is going to always exist.
 
Are there a list of template people are using that the drag and drop editor will work with? I have tried a bunch, and none have worked yet.
 
Back
Top