grapesjs
grapesjs copied to clipboard
BUG: "display" property of Style Manager doesn't sync with Layer Manager
Version: v0.16.18
How to reproduce:
- Select a component
- Choose Layer tab
- Hide component
- Back to Style tab
- Check "display" property

Expected:
- "display" should be "none"
Actually:
- "display" is still "block"
The StyleManager doesn't seem to update when styles are changed from somewhere else...the display property does get updated once you deselect and select the component again. Probably the StyleManager needs to updated to listen for changes to display property from the LayerManager.
Will be fixed in the next release. Thanks