agusmakmun / agusmakmun/django-markdown-editor

MARTOR_ENABLE_ADMIN_CSS not disabling bootstrap styling

Offen
#259 4 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
Vorherrschende Sprache
JavaScript
Sterne
901
Forks
1.3k
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

### Discussed in https://github.com/agusmakmun/django-markdown-editor/discussions/258

Originally posted by **JElgar** August 19, 2024
Hey! I'm trying to find a markdown editor to use in the django admin. This one looks awesome and exactly what I need. The one small thing I'm struggling with is integrating it with [unfold](https://github.com/unfoldadmin/django-unfold).

If I disable unfold and use the vanilla django admin everything works great but if I open an admin form with any martor field with unfold then all the css goes a bit wild.

image

I saw in your README you have
```
# Disable admin style when using custom admin interface e.g django-grappelli (default is True)
MARTOR_ENABLE_ADMIN_CSS = True
```

which seems to allude to you supporting this kind of use case but I tried setting it to False but I got the same issue.

I have noticed that folks are having issues with unfold and other markdown editors (e.g. https://github.com/unfoldadmin/django-unfold/issues/497) so potentially not something can be solved here.

Beitragsleitfaden

Beitragsleitfaden öffnen

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.