How to change the editor default color to some other color in grapesjs in React?

755 Views Asked by At

enter image description here

How to change this default color into some other color in grapesjs?

1

There are 1 best solutions below

0
On BEST ANSWER

You can change it using the CSS, using red as an example:

.gjs-one-bg { background-color: 'red' }

There is a lot of other classes you can alter as well, use Chrome dev tools to inspect them. Make sure to add !important if the styles don't apply.