Closed stpp2 closed 1 month ago
@stpp2 This is not really a bug; it's more of a feature. :)
Try using clearStyles
:
Yeah clearStyles
is already enabled in my case, but that doesn't seem to work well in many cases.
Either way I'd expect the Custom Code
component to be somewhat "containerized" so it's not leaving anything in the doc when removed.
GrapesJS version
What browser are you using?
any
Reproducible demo link
https://grapesjs.com/demo
Describe the bug
How to reproduce the bug?
What is the expected behavior? All code should be removed, including CSS
What is the current behavior? custom CSS is not being removed, though the rest is.
gjs.webm
Code of Conduct