Hide styles in styleManager #6393
-
Hide unused styles in the styleManager. For example, in the image component, I don't need the Typography style. How can I hide Typography? |
Beta Was this translation helpful? Give feedback.
Answered by
mosh-tudor
Feb 1, 2025
Replies: 1 comment 1 reply
-
@bamiendev unstylable: [
'font-size',
'font-weight',
'line-height',
'color',
.... and so on ...
], Just include all the styles you don't want to see. DOC: |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
artf
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
@bamiendev
In your IMAGE component, you can add something like this:
Just include all the styles you don't want to see.
DOC:
https://github.com/GrapesJS/grapesjs/blob/dev/docs/api/component.md#properties