Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

code editor clears styles #70

Open
drexelroth opened this issue Feb 9, 2023 · 3 comments
Open

code editor clears styles #70

drexelroth opened this issue Feb 9, 2023 · 3 comments

Comments

@drexelroth
Copy link

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?

@ghost
Copy link

ghost commented Feb 13, 2023

@drexelroth which version of the package are you using?

@drexelroth
Copy link
Author

We're using the recent version.

@drexelroth
Copy link
Author

3.4

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant