matthiask / django-prose-editor

ProseMirror-based HTML editor for Django
https://django-prose-editor.readthedocs.io/
BSD 3-Clause "New" or "Revised" License
97 stars 6 forks source link

Explicit Color Setting for the editor #1

Closed workshop22 closed 6 months ago

workshop22 commented 6 months ago

Is it possible to remove:

.ProseMirror{color:#000!important}

i'm having to manually remove that so that dark and light modes work correctly in my backend. i feel like this should just inherit the color set by the interface.

matthiask commented 6 months ago

I'm not sure why this would change anything since the color is overridden in the next block again:

https://github.com/matthiask/django-prose-editor/blob/6f8d219b85b5c906fe5d7d562e07b4868e284d71/src/overrides.css#L12-L14

It certainly doesn't seem to be necessary and I'm good with removing it.

workshop22 commented 6 months ago

Awesome thanks!