Open Tapudp opened 3 years ago
@Tapudp hey, u can use custom colors for toolbar, icons and border just refer it : PlayGround example for Jodit theme
or you can directly mention the theme for dark mode
config = {{ theme : 'dark' }}
How to add custom colors in it.
I'm using jodit-react editor. Honestly the documentation is confusing a bit. This is my current config to add custom style to the WSYIWYG editor but I'm not able to change the background-color and the text-color for the toolbar.
Also for the
onChange
method I wrapped the editor component inside useMemo to prevent multiple re-renders as mentioned in this thread : https://github.com/jodit/jodit-react/issues/43 #43Current Look: