django-prose-editorΒΆ

Prose editor for the Django admin based on ProseMirror and Tiptap. Announcement blog post.

After installing the package (using pip install django-prose-editor[sanitize]) the following should get you started:

from django_prose_editor.fields import ProseEditorField

content = ProseEditorField(
    extensions={
        "Bold": True,
        "Italic": True,
        "BulletList": True,
        "Link": True,
    },
    sanitize=True  # Enable sanitization based on extension configuration
)

Table of contents