[BUG] (Un)selecting a class in the StyleManager throws a TypeError
Question
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:
- Open the newletter demo from the GrapesJS homepage.
- Click on the big GrapesJS image and go to the StyleManager.
- (Un)select the checkbox next to the class.
- 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


Answers (0)
No answers yet.
Related Questions and Answers
Continue research with similar issue discussions.
Issue #3134
BUG: Canvas scroll to top of the page when I try to drag an element from the last sections
Version: 0.16.27 Are you able to reproduce the bug from the demo? [ X] Yes [ ] No What is the expected behavior? When a try to drag a compo...
Issue #2765
[Bug] backspace key trigger navigating back
Hi, in grapesjs in Firefox 75.0 when "backspace key" (event.which === 8) is pressed the navigator is going back and grapesjs is lost. To re...
Issue #4310
BUG: Style Manager is inaccurate when using combined CSS selectors which contains "bout" and componentFirst = true
GrapesJS version [X] I confirm to use the latest version of GrapesJS What browser are you using? Chrome 100 Reproducible demo link https://...
Issue #3291
BUG (v0.16.41): the duplicate icon from the icon toolbar is modifying the original element too
Version: v0.16.41 Are you able to reproduce the bug from the demo? [ ] Yes What is the expected behavior? The elements duplicated not shoul...
Paid Plugins That Match This Issue
Curated by issue keywords and label relevance to help you ship faster.
Loading paid plugin recommendations...
Browse Plugin Categories
Jump directly to plugin category pages on the marketplace.