grapesjs icon indicating copy to clipboard operation
grapesjs copied to clipboard

[QUESTION] What things should I save in the database with remote storageManager?

Open josefph opened this issue 8 years ago • 4 comments

What do I do with gjs-assets, gjs-components, gjs-css, gjs-html, and gjs-style? and how do I load these things to my editor?

josefph avatar Feb 28 '18 06:02 josefph

gjs-html and gjs-css are your final results, so probably you would print them on some page for the end user. gjs-components and gjs-style contains the JSON data about your template so you have to use those if you need to edit the template in the editor

artf avatar Mar 01 '18 23:03 artf

@artf would there be problems if I would just insert the saved html and css to the editor to edit it? and not use the gjs-components and gjs-style?

josefph avatar Mar 08 '18 03:03 josefph

@pranzikkin if you use custom elements and you care about the consistency with editing your templates, well yeah, you'll get problems

artf avatar Mar 08 '18 14:03 artf

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.

lock[bot] avatar Sep 17 '19 21:09 lock[bot]