grapesjs-custom-code icon indicating copy to clipboard operation
grapesjs-custom-code copied to clipboard

BUG: CSS added via custom code persists after custom code component is removed

Open stpp2 opened this issue 1 year ago • 0 comments

GrapesJS version

  • [X] I confirm to use the latest version of GrapesJS

What browser are you using?

any

Reproducible demo link

https://grapesjs.com/demo

Describe the bug

How to reproduce the bug?

  1. Add custom code component with HTML + CSS
  2. Delete custom code component.

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

  • [X] I agree to follow this project's Code of Conduct

stpp2 avatar Oct 09 '24 11:10 stpp2