Skip to content

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

Open

Description

@stpp2

GrapesJS version

  • 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

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions