Prose editor for the Django admin based on ProseMirror
Project description
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, # Server side sanitization is strongly recommended.
)
Check the documentation.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
django_prose_editor-0.11.4.tar.gz
(740.4 kB
view details)
Built Distribution
File details
Details for the file django_prose_editor-0.11.4.tar.gz
.
File metadata
- Download URL: django_prose_editor-0.11.4.tar.gz
- Upload date:
- Size: 740.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: python-httpx/0.28.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1684a2624ff2851621a3bcab0e3bb6517509546a104d295d5dd4a33ea16ef218 |
|
MD5 | 182452bbd82f1632e62ef01137147dab |
|
BLAKE2b-256 | b28f4d8dc58a67c90a871c23d4c5297eb2f3320ff25f9f77587f68bc7f30473d |
File details
Details for the file django_prose_editor-0.11.4-py3-none-any.whl
.
File metadata
- Download URL: django_prose_editor-0.11.4-py3-none-any.whl
- Upload date:
- Size: 754.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: python-httpx/0.28.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1d3f7691ca1e9d9c6abbfea00162eb00443cd21d1b5c3f05567f361fd50c2cd6 |
|
MD5 | dcce6dd42e855fc3d371cffbf9294cc1 |
|
BLAKE2b-256 | a288687050aabd800766e9d2ae8acad45e73c61941afc552f73788e3a1fc19ad |