[HELP] Hide style manager if no component selected
Question
Hi, i want to reproduce default gjs behavior, when style-manager is hidden if no component selected.
like this:

But it seems like this doesnt work by default, if markup is custom, like in artf example here: https://codepen.io/artf/pen/MQpZPj
Answers (1)
Yeah, that logic is handled in this command which is not included with a custom UI, so you have to add it on your own
Related Questions and Answers
Continue research with similar issue discussions.
Issue #2148
[QUESTION] IE11 (Unable to get property 'style' of undefined)
Hi! Just faced the same issue: https://github.com/artf/grapesjs/issues/1295#issuecomment-410046832 While click on one of this buttons this....
Issue #3380
BUG: Default properties not selected in styleManager
Hello dear, can you know why default properties is not selected in style manager ?? What event can I trigger to update this ??
Issue #1294
How to add category for default block manager?
@artf I want put all default blocks to category named "Basic". But I can't find any documents about it. I use editor.BlockManager.getAll()....
Issue #1379
Question : how to replace style-manager font-awesome icon into svg?
hi @artf i Want to replace an icon of style manager with svg icon . As you can see screenshot attached. I tried dat way.
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.