onepill / django-simplemde

Use markdown editor https://github.com/sparksuite/simplemde-markdown-editor in django project
32 stars 15 forks source link

MDE issues in Django Admin #24

Open Jelle28 opened 7 months ago

Jelle28 commented 7 months ago

Hi 👋 I've two issues with the SimpleMDEField in my Django Admin.

The input field of the block is not displayed below the styling (bold, italic...) section, instead it's displayed by the side of it. Screenshot 2023-11-27 at 16 16 55

And I use the SimpleMDEField in Inline classes, I've noticed that when I add multiple inline instances, the SimpleMDEField of the new instance is locked till I save the instance.

And last, in my newer version the styling buttons became white. When switching to dark mode, they're still not visible. image

Is anyone else experiencing this issue? If so, I plan to investigate and open a PR. If anyone has found a solution or workaround, please share.

kfconsultant commented 5 months ago

Just tried it on Django Admin and saw the same issue (input field is on the right-hand side). Any fixes on this? Step to recreate the issue.

  1. Setup and run the testproject in the django-simplemde at https://github.com/onepill/django-simplemde/tree/master/testproject
  2. if you got to the root directory, it works fine http://127.0.0.1:8000/
  3. If you got to admin page, it is not displaying correctly. http://127.0.0.1:8000/admin
Screenshot 2024-01-22 at 3 47 43 PM