Upgraded 0.15.3 => 0.16.18, saved JSON is not storing some properties
Yes, there is. When init grapesjs, you could set the config avoidDefaults to false.
Read full answer below ↓Question
Hi, we upgraded from 0.15.3 to 0.16.18 and now the saved JSON coming out of grapesjs doesn't include some things that we were using before, namely styles and tagName.
Before Upgrade (0.15.3):

After Upgrade (0.16.18):

As we don't use the HTML, only the JSON, we need those properties to be in the schema.
Is there some config we could turn on to save more info in the JSON schema? Or else how can we solve this?
Thanks
Answers (1)
Yes, there is. When init grapesjs, you could set the config avoidDefaults to false.
Related Questions and Answers
Continue research with similar issue discussions.
Issue #3389
MultiSelect some elements and change styles only work on the last selected element
Hi, when I MultiSelect some elements using shift, and change style in styleManager. Only the last clicked element will update the style. Ca...
Issue #2223
[Question] Should default text-align property have icons?
If styleManager is left out of the configuration, the default includes text-align with icons showing the choices. If I include a styleManag...
Issue #1470
[Question] Possible memory leaks
Hi, I am working on a project with Angular 6 and I am investigating a memory leak after destroying the editor on _previousAttributes and po...
Issue #4784
Bug resize image
GrapesJS version[X] I confirm to use the latest version of GrapesJSWhat browser are you using? 108.0.5359.73Reproducible demo link https://...
Paid Plugins That Match This Issue
Curated by issue keywords and label relevance to help you ship faster.
Loading paid plugin recommendations...
Check the open-source GrapesJS plugins on GitHub or run a quick search in our free catalog.
Browse free plugins →Premium plugins ship with support, regular updates, and production-ready features — save days of integration work.
Browse premium plugins →Browse Plugin Categories
Jump directly to plugin category pages on the marketplace.