Problem with my Cells when I load again the html and css.
Question
When I retrieve my template from the database.
My Cells have become box and I can not modify their width as when they are cells.
Can I make my Cells remain cells without becoming something else by retrieving the template?
Creating Template
Reloading Template

Answers (3)
Looks like you're storing/loading incorrectly. Check here. https://grapesjs.com/docs/modules/Storage.html#store-and-load-templates
Looks like you're storing/loading incorrectly. Check here. https://grapesjs.com/docs/modules/Storage.html#store-and-load-templates
Thank's @cjpollard I wasn't save the components only saved the html. Now I save the components and when I recover the template it's perfect ^^
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.
Issue #513
Model and returned html issue
I have below code to create custom component and wants to retrieve updated html via editor.html() but return wrong html, I am sure I am mis...
Issue #383
Best way to load element's css into the properties panel.
Hi Again everyone, GrapeJS is too much fun once you get deep into it. I have a simple question: What's the best way to load the css from a...
Issue #641
Media Query
Is there any way to apply css on specific width like (max-width:767px) so that we can make template responsive???
Issue #597
storageManager: Loading from remote storage
Hi, I'm trying to read the HTML and CSS from my database. When I try to load it into the editor, nothing displays. I can store the data jus...
Paid Plugins That Match This Issue
Curated by issue keywords and label relevance to help you ship faster.
Loading paid plugin recommendations...
Browse Plugin Categories
Jump directly to plugin category pages on the marketplace.