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

Incompatibility with Django 4.2

Open aaugustin opened this issue 2 years ago • 1 comments

With Django 4.1.8:

Screenshot 2023-04-15 at 10 09 04

With Django 4.2:

Screenshot 2023-04-15 at 10 09 32

This is happening on a very basic install without CSS customization. You should be able to reproduce simply by upgrading Django.

Looking at https://github.com/django/django/commits/4.2/django/contrib/admin/static, I see commits that say "Used CSS flex for..." This suggests significant changes to the admin CSS, which would explain this result.

aaugustin avatar Apr 15 '23 08:04 aaugustin

@aaugustin alternatively you can use this css path to fix that css issue:

MARTOR_ALTERNATIVE_CSS_FILE_THEME = "fix-martor.css"

agusmakmun avatar Jul 30 '23 23:07 agusmakmun

Hello @aaugustin, seems the latest version already fixed. Kindly to upgrade your martor:

pip install martor --upgrade

image

agusmakmun avatar Mar 29 '24 15:03 agusmakmun

Thank you.

aaugustin avatar Mar 29 '24 15:03 aaugustin