grapesjs icon indicating copy to clipboard operation
grapesjs copied to clipboard

How to remove SelectorManager

Open ateshuseyin opened this issue 9 years ago • 6 comments

I don't want SelectorManager in my project.

ateshuseyin avatar Oct 24 '17 14:10 ateshuseyin

What do you mean? SelectorManager is necessary to keep the collection of classes, it's a part of the core, you can't remove it

artf avatar Oct 25 '17 12:10 artf

At the top of style manager UI, there is Classes section. I want to remove it from UI.

ateshuseyin avatar Oct 25 '17 15:10 ateshuseyin

Currently, there is no option to disable it, but you can eventually hide/remove it with css/js for now

artf avatar Oct 25 '17 19:10 artf

Try this:

.gjs-clm-tags { display: none; }

Be aware though that by hiding this section, you lose the ability to select individual classes to modify. This means that if you make changes to the styles, you may encounter weird behaviour (for example, you have duplicate components on the page with custom classes, your changes may apply to both). See #404.

thecodefish avatar Oct 25 '17 20:10 thecodefish

@thecodefish It works. Thanks. @artf This issue can be closed.

ateshuseyin avatar Oct 31 '17 09:10 ateshuseyin

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.

lock[bot] avatar Sep 18 '19 09:09 lock[bot]