WendellAdriel / jodit-vue

Vue wrapper for Jodit Editor
MIT License
76 stars 19 forks source link

Dark Mode Support #45

Closed fwiwDev closed 2 years ago

fwiwDev commented 2 years ago

Thanks for this library. It is super helpful and quite capable. I am looking for how to get the component to know I am using it in dark mode so it can adjust the background. Is that possible?

Now, when I use the component in dark mode and it pops up a modal, it is light text on light background (have to select it to see it).

Here is an example with the text selected so you can see it. image

Is dark mode support a new feature or do I just need to know how to tell the component to render for dark mode?

Thanks again!

WendellAdriel commented 2 years ago

@fwiwDev you can check on how to customize Jodit theme here: https://xdsoft.net/jodit/pro/docs/customisation/theme.md or you can simply create styles overriding the Jodit classes for that.

fwiwDev commented 2 years ago

Perfect. Thanks so much. Please go ahead and close the issue. I got it working!!

WendellAdriel commented 2 years ago

That's great to hear @fwiwDev!!! If you have any issues with anything else, just let me know!