wagtail-prose-editor-images
Adds native Wagtail Image Chooser integration to django-prose-editor.
Features
- Toolbar button with native Wagtail image chooser modal.
- Clean integration with TipTap image node schema.
- Works out of the box in Wagtail Admin.
Installation
pip install wagtail-prose-editor-images
Add to INSTALLED_APPS in your settings.py after wagtail.images and django_prose_editor:
INSTALLED_APPS = [
...
"wagtail.images",
"django_prose_editor",
"wagtail_prose_editor_images",
...
]
Usage
In your model with ProseEditorField, simply enable the Image extension:
from django_prose_editor.fields import ProseEditorField
class MyPage(Page):
body = ProseEditorField(
extensions={
"Bold": True,
"Italic": True,
"Image": True, # Enables image support and the Wagtail chooser button!
}
)
Release files for wagtail-prose-editor-images 0.1.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| wagtail_prose_editor_images-0.1.2.tar.gz | 3.1 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| wagtail_prose_editor_images-0.1.2-py2.py3-none-any.whl | Python 2, Python 3 | none | any | Details |
Total release size: 7.5 kB
Release files / wagtail_prose_editor_images-0.1.2.tar.gz
| Download URL | wagtail_prose_editor_images-0.1.2.tar.gz |
|---|---|
| Size | 3.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
990bdc6b9e945e4e8dc8d55ea7aec927befd22f87d4fa9d3e2767af6a3c6afef
|
|
BLAKE2b-256 checksum How to use checksums |
dc1a877c842d82343bbad388ce4c912580b050644c7c5040150239bdd8d5e1c4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
python-requests/2.32.5
|
Release files / wagtail_prose_editor_images-0.1.2-py2.py3-none-any.whl
| Download URL | wagtail_prose_editor_images-0.1.2-py2.py3-none-any.whl |
|---|---|
| Size | 4.4 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
5e70b445292a885d8feb6b287d2a3851110cff1c18fce7177bcc537d47cfe60b
|
|
BLAKE2b-256 checksum How to use checksums |
1d7f9b75dd7fdae8730c8103362f069287f7d5707a5beef089daa0f965ba5907
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
python-requests/2.32.5
|