Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

onRender method is not called #273

Open
Brewal opened this issue Dec 20, 2021 · 1 comment
Open

onRender method is not called #273

Brewal opened this issue Dec 20, 2021 · 1 comment

Comments

@Brewal
Copy link

Brewal commented Dec 20, 2021

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
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants