GrapesJS / mjml

Newsletter Builder with MJML components in GrapesJS
http://grapesjs.com/demo-mjml.html
BSD 3-Clause "New" or "Revised" License
624 stars 222 forks source link

onRender method is not called #273

Open Brewal opened 2 years ago

Brewal commented 2 years ago

Unless I'm missing something, as the render() method is overrided in all mjml components, the fact that the postRender() method is not called there never triggers the onRender() method documented in grapesjs.

The only way I can execute code there is to copy the entire render method in the components I want to update. Is this intended ?

ErgoleJeT commented 1 year ago

Hello, any news about that ? How can i do to separate the view from the model on a custom component ? The goal is to show a placeholder distinct from the model.