-
Notifications
You must be signed in to change notification settings - Fork 503
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
Console.error while i import a Mosaico JSON with the "importJSON" method #279
Comments
versafix-1? custom template? mosaico version? custom mosaico changes? |
Yeah, versafix-1 with some little changes at the footer (I remove the sponsor part): versafix-1 footer:
My footer:
Other info:
|
From my updated tests, the import works, but the undomanager doesn't work anymore and further editing on the model may show issues. Investigating... |
Includes minor improvements to logging/error handling. See #279 (does not fix that issue, but this was part of the problem)
When mosaico is loaded it also support updating an obsolete model to a newer template with additional properties, but "viewModel.importJSON" throw an error when the model is different from what is expected. Now viewModel.importJSON uses "checkModel" to update it when needed. See #279
Hi!
Im trying to import an email JSON content with the method
.importJSON()
of the mosaico view model (recovered by a Mosaico init custom plugin).It works but i receive the following error:
The imported JSON is an export of a previous email.
It's something like:
I have been trying many variation of the JSON to import like:
But none of them works...
What should i do?
Thanks for the help!
The text was updated successfully, but these errors were encountered: