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

[BUG] (Un)selecting a class in the StyleManager throws a TypeError #2035

Closed
MetalPinguinInc opened this issue May 24, 2019 · 0 comments
Closed

Comments

@MetalPinguinInc
Copy link

Hello,

I am running into an issue when selecting or unselecting a class on an element in the StyleManager through the UI. This happens on both my own project and the newletter demo from the GrapesJS page.

It happens on version 0.14.61 which should be the current version.

Reproduction:

  1. Open the newletter demo from the GrapesJS homepage.
  2. Click on the big GrapesJS image and go to the StyleManager.
  3. (Un)select the checkbox next to the class.
  4. Observe an uncaught TypeError in your console.

I have included screenshots that ought to suffice, please let me know if more information is needed. It seems that GrapesJS is trying to delegate an event on the checkbox, but cannot find the element it should delegate to and keeps trying to retrieve the parentNode untill there is no parentNode anymore and the delegation target still isn't found.

Kind regards,

MetalPinguin

image

image

@artf artf added the bug label May 30, 2019
@artf artf added this to To do in Release v0.14.62 via automation May 30, 2019
@artf artf closed this as completed in d813271 Jun 3, 2019
Release v0.14.62 automation moved this from To do to Done Jun 3, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
No open projects
Development

No branches or pull requests

2 participants