laravel-grapesjs icon indicating copy to clipboard operation
laravel-grapesjs copied to clipboard

code editor clears styles

Open drexelroth opened this issue 2 years ago • 3 comments

Whenever you use the code editor and click save, it clears any styles that have been applied through the style manager.

I think the issue is that editor.setComponents(html); replaces any css that grapesjs had created for the page.

Is there a way to fix this?

drexelroth avatar Feb 09 '23 23:02 drexelroth

@drexelroth which version of the package are you using?

ghost avatar Feb 13 '23 04:02 ghost

We're using the recent version.

drexelroth avatar Feb 14 '23 00:02 drexelroth

3.4

drexelroth avatar Feb 14 '23 00:02 drexelroth