FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

feincms/django-prose-editor: ProseMirror-based HTML editor for Django · GitHub

Repository files navigation

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,
        "ListItem": True,
        "Link": True,
    },
    sanitize=True,  # Server side sanitization is strongly recommended.
)

Check the documentation.

About

ProseMirror-based HTML editor for Django

Resources

Stars

199 stars

Watchers

5 watching

Forks

Releases

Packages

Used by

Contributors

Languages


Back | FazBrowse Home | New Git URL