django-markdown-editor
django-markdown-editor copied to clipboard
Tailwinds Support
Is there support for Tailwind coming? If not, how can I disable the bootstrap imports? They are conflicting with my current css.
If in /admin/ of django, 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
but, if you working on outside of it, you can directly change the base css of bootstrap, you can see this examples:
- https://github.com/agusmakmun/django-markdown-editor/blob/master/martor_demo/app/templates/bootstrap/base.html#L5
- https://github.com/agusmakmun/django-markdown-editor/tree/master/martor_demo/app/templates/bootstrap