Issue #759Opened January 15, 2018by gordon-matt0 reactions

Problems trying to load and save

Question

Could someone please let me know the required format of the response from the storage save action? I originally posted an issue under the mjml repo regarding this, but there's been no answer and moreover, I think it's probably more suited to be asked here in the main GrapesJS repo (as it pertains to GrapesJS in general and not just the MJML extension). The original post can be found here: GrapesJS MJML Issue 54. I have made some progress, but as I said above, I am still confused as to the required response for the save action.

Answers (3)

gordon-mattJanuary 16, 20180 reactions

I have updated the original issue with a workaround and made a suggestion. Feel free to close either this issue or the original under the MJML repo, as per your preference.

artfJanuary 16, 20180 reactions

Hi @gordon-matt and apologize for the late response. As you already get it, the store expects nothing, but onResponse callback is always executed therefore you get that error. Probably just putting typeJson && text && typeof text === 'string' might solve the issue.

lock[bot]September 18, 20190 reactions

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

Related Questions and Answers

Continue research with similar issue discussions.

Paid Plugins That Match This Issue

Curated by issue keywords and label relevance to help you ship faster.

View all plugins

Loading paid plugin recommendations...

Browse Plugin Categories

Jump directly to plugin category pages on the marketplace.