django-markdown-editor icon indicating copy to clipboard operation
django-markdown-editor copied to clipboard

Ability to disable martor admin css file when using customized admins like graphelli and others

Open oasisMystre opened this issue 2 years ago • 4 comments
trafficstars

When using custom admins like Grappelli martor admin CSS should be disabled using

MARTOR_ENABLE_ADMIN_CSS=False # default is true

oasisMystre avatar Aug 26 '23 15:08 oasisMystre

hello @oasisMystre, thank you for making this changes.. can you please elaborate why these 2 css files are changed?

martor/static/martor/css/martor.bootstrap.css
martor/static/plugins/css/bootstrap.min.css

I think both is not related right? can you please revert back that files?


Also, can you please add that MARTOR_ENABLE_ADMIN_CSS=True to the README.md?

agusmakmun avatar Sep 12 '23 01:09 agusmakmun

Bootstrap use a !important to add style to <a> tag I can't disable bootstrap since the markdown widget depends on it so I have to remove styling for <a> tag since it works fine without it.

I can revert if you want me too, I'm using this library for a production project will work with our own fork.

Will add the documentation for the changes, thanks for this amazing library really helped 👊

oasisMystre avatar Sep 12 '23 10:09 oasisMystre

@oasisMystre can you please revert the .css changes? so we can push it immediately.. again thank you so much for making this changes, really appreciate it.. 👍

agusmakmun avatar Oct 02 '23 01:10 agusmakmun

Okay

oasisMystre avatar Oct 11 '23 20:10 oasisMystre