agusmakmun / agusmakmun/django-markdown-editor

Preview not working

Open
#268 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
901
Forks
1.3k
PR merge metrics
No merged PRs in 30d

Description

The preview does not work in either semantic or bootstrap themes. It always goes to "Nothing to preview"

This was working for me in older versions.

## Details
- OS (Operating System) version: Linux
- Browser and browser version: chrome
- Django version: 5.1
- Martor version & theme: 1.6.45 semantic and bootstrap

### Steps to reproduce

1. use the AdminMartorWidget to override models.TextField
2. view admin

Any ideas why this is the case?

Contributor guide

Open the contributing guide

Research direction

Reproduce the issue in the Django admin using AdminMartorWidget with the semantic and Bootstrap themes, Django 5.1, and Chrome on Linux. Start by tracing the preview behavior from the widget, then verify that entering content renders a preview instead of “Nothing to preview” in both themes.

Written by the indexing model from the issue text.

Assessment

Tech stack
bootstrap, django, javascript, python
Domain
backend, frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.