Skip to content
Discussion options

You must be logged in to vote

@bamiendev
In your IMAGE component, you can add something like this:

        unstylable: [
          'font-size',
          'font-weight',
          'line-height',
          'color',
          .... and so on ...
        ],

Just include all the styles you don't want to see.

DOC:
https://github.com/GrapesJS/grapesjs/blob/dev/docs/api/component.md#properties

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@bamiendev
Comment options

Answer selected by artf
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants