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.0
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.0.tar.gz | 3.3 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| wagtail_prose_editor_images-0.1.0-py2.py3-none-any.whl | Python 2, Python 3 | none | any | Details |
Total release size: 7.7 kB
Release files / wagtail_prose_editor_images-0.1.0.tar.gz
| Download URL | wagtail_prose_editor_images-0.1.0.tar.gz |
|---|---|
| Size | 3.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
a9f0db1f448fc66d126d558ca9e3777b49c59202f316e1a541dc6ab1cc1183b8
|
|
BLAKE2b-256 checksum How to use checksums |
e4828052efd13846a2216724d955f836aec81d6abe2e8c71a22481ffba95f34f
|
| 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.0-py2.py3-none-any.whl
| Download URL | wagtail_prose_editor_images-0.1.0-py2.py3-none-any.whl |
|---|---|
| Size | 4.5 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
c35161c035b12e1f01e4089073dde357cabb5138326e3c620b185374c9c7e120
|
|
BLAKE2b-256 checksum How to use checksums |
0171c7b1df5ac95ed12f5466d6a69bd258a54b4f067589c5c3aae780343a1aed
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
python-requests/2.32.5
|