Open JElgar opened 3 weeks ago
The styles causing the issues are coming from bootstrap.min.css
. It looks like all those styles are pulled in regardless of the value MARTOR_ENABLE_ADMIN_CSS
. I wonder if there is a way we can only apply those styling just to the component rather than the whole admin panel?
hello @JElgar for this case you can use your own style:
# If you need to use your own themed "bootstrap" or "semantic ui" dependency
# replace the values with the file in your static files dir
MARTOR_ALTERNATIVE_JS_FILE_THEME = "semantic-themed/semantic.min.js" # default None
MARTOR_ALTERNATIVE_CSS_FILE_THEME = "semantic-themed/semantic.min.css" # default None
MARTOR_ALTERNATIVE_JQUERY_JS_FILE = "jquery/dist/jquery.min.js" # default None
Discussed in https://github.com/agusmakmun/django-markdown-editor/discussions/258