Skip to content
项目

feincms/django-prose-editor

在 GitHub 查看

关于

ProseMirror-based HTML editor for Django

网站与应用开发

这些数字如何统计

实测星标增长

24小时
0
7天
+1
15天
+1
1个月
正在收集历史

各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。

README.md

原文

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.

探索相关项目

加载中…