Skip to content

Latest commit

 

History

History
28 lines (20 loc) · 787 Bytes

README.rst

File metadata and controls

28 lines (20 loc) · 787 Bytes

django-prose-editor

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

Intro

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 is the default when using extensions
)

Check the documentation.