Giter VIP home page Giter VIP logo

Comments (4)

grahame avatar grahame commented on June 16, 2024

I'm seeing this too, but only for body text in Markdown; headings work fine.

from django-markdown-editor.

Sispheor avatar Sispheor commented on June 16, 2024

Seems that title level 1 and 2 need more contrast too
image

from django-markdown-editor.

agusmakmun avatar agusmakmun commented on June 16, 2024

Hello @AstRonin @grahame @Sispheor, thank you for reporting this issue.
Last time we trying to fix this issue: f8ad4d3

And the result is:
Screenshot 2024-03-29 at 22 14 44

It can be a temporary fixes as for now. Removing @media (prefers-color-scheme: dark) we need to spend sometimes to adjust the css of text.

Kindly to upgrade the martor version:

pip install martor --upgrade

from django-markdown-editor.

wkt84 avatar wkt84 commented on June 16, 2024

Hello,

I want to reopen this issue because the display problem with the editor's preview in Django's dark mode persists. The issue was previously marked as resolved and closed, but the problem seems to remain. I suspect there might be an issue with the martor-bootstrap.css, specifically with div.martor-preview, which may not be fully compatible with dark mode, but I am not entirely sure.

Here are the details of my setup:

  • OS version: Windows 10 Pro
  • Browser and version: Chrome 124.0.6367.91 (Official Build)
  • Django version: 4.2.11
  • Martor version: 1.6.44
  • Markdown version: 3.1.1

I have attached screenshots showing the editor, the preview, and the selected preview when using dark mode, which highlight the issue.
martor_editor
martor_preview1
martor_preview2

Your assistance in resolving this would be greatly appreciated.

Thank you.

from django-markdown-editor.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.