grapesjs icon indicating copy to clipboard operation
grapesjs copied to clipboard

Loading HTML content inject ids belongs to styles

Open jvillena opened this issue 8 years ago • 2 comments

@artf When I load the html content, this is including in all the components a random identifier that in your examples "Websites" and "Newsletter" I don't see them. So How I can force to keep my stylesheet and don't use random identifiers in all the components?

I'm asking you this question because if I change the identifier in the traits by mistake the style of the components is gone.

So can I avoid this behaviour?

jvillena avatar Jul 27 '18 13:07 jvillena

@artf I've just fixed I was including the variable avoidInlineStyle: true, and it has to be avoidInlineStyle: 0

jvillena avatar Jul 27 '18 14:07 jvillena

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 09:09 lock[bot]