Error when trying to hide some elements from the Layers Manager
Question
Steps:
- Go to http://grapesjs.com/demo.html
- Open Layer Manager.
- Click on the "Build your templates without coding" text element.
- Click on the "eye" button in the Layer Manager to hide the element.
Result: The following exception is thrown: Uncaught TypeError: Cannot create property 'display' on string '' and the element is not hidden.
I believe I found the cause and will create a pull request with a fix.
Answers (2)
Fixed with the latest version https://github.com/artf/grapesjs/releases/tag/v0.12.37
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.
Related Questions and Answers
Continue research with similar issue discussions.
Issue #530
Elements hidden through the layer manager can no longer be brought back after saving the content.
Steps to reproduce on http://grapesjs.com/demo.html :Click on the Layer Manager.Hide any layer, e.g.: the Header.Save the content - this ha...
Issue #1699
[BUG] Link elements are not copyable/deletable
In the editor, if we have link element with some classes, the editor does not allow to copy/delete the element. GrapesJS version: v0.14.50S...
Issue #1812
[Bug]: 404 when trying to add background image (reproducible in demo)
Visit https://grapesjs.com/demo.html in Chrome IncognitoClick the "Header" elementClick Decorations > BackgroundDelete Layer 2Click Layer 1...
Issue #1865
[Bug]: Grapes change page position
Hello, I found the following problem using grapes inside an html page: when you click on some elements of the editor, such as the arrow to...
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.