Show only specific style managers when selecting components
Question
If you select a component in the editor, you want only the Style Manager for that component to appear in the Properties pane.
For example, how do I make the sort style manager visible only in the div tag?
Is it possible?
Answers (1)
Hi there! see if this can help you out. if you want to show style manager only for your specific type, you can initialize editor with no sectors specified for styleManager, then use this approach to add your sectors when your target type is selected. cheers.
Related Questions and Answers
Continue research with similar issue discussions.
Issue #3404
Style Manager Issue.
Hi @artf I want to hide and show style properties for specific component. After referencing this issue https://github.com/artf/grapesjs/iss...
Issue #1091
How to select the first Component
I want to launch the editor with the style manager visible and populated. Meaning that a component is selected by default and the style man...
Issue #917
[QUESTION] Custom style properties per element
Is it possible to have custom style property UI per element. For example, consider that I want the font-size to be shown as textbox for tex...
Issue #2461
How to apply style or trait to parent or child element of selected component
For example i have component image that wrapped in div. I want to style image with multiple properties(horizontal position, border-radius,...
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.