wagtail-prose-editor-images
Adds native Wagtail Image Chooser integration to django-prose-editor.
Features
- Native Chooser Integration: Opens Wagtail's standard image picker modal directly from the toolbar.
- Full-Resolution Insertion: Automatically selects the full-size original image URL rather than thumbnails.
- Wagtail-Native Theming: Seamlessly matches Wagtail's neutral light and dark admin color schemes.
- Inline and Block Code Styling: High-contrast, readable
<pre><code>blocks out of the box.
Installation
pip install wagtail-prose-editor-images
Add to INSTALLED_APPS in your settings.py:
INSTALLED_APPS = [
...
"wagtail.images",
"django_prose_editor",
"wagtail_prose_editor_images",
...
]
Usage
In your model with ProseEditorField, enable the Image extension:
from django_prose_editor.fields import ProseEditorField
class MyPage(Page):
body = ProseEditorField(
extensions={
"Bold": True,
"Italic": True,
"Heading": {"levels": [2, 3]},
"Image": True, # Enables the Wagtail Image Chooser button!
"Code": True,
"CodeBlock": True,
}
)
Recommended Complementary Package
Tired of dumping all uploaded images into a flat media/original_images/ folder? Organize your media into clean year/slug directories:
👉 wagtail-image-directories
Case Study & Background
Read the full story behind the migration and architecture on our blog: Vs-Svet.ru / ZenWay.ru.
Release files for wagtail-prose-editor-images 0.2.1
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.2.1.tar.gz | 5.1 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| wagtail_prose_editor_images-0.2.1-py2.py3-none-any.whl | Python 3, Python 2 | none | any | Details |
Total release size: 11.7 kB
Release files / wagtail_prose_editor_images-0.2.1.tar.gz
| Download URL | wagtail_prose_editor_images-0.2.1.tar.gz |
|---|---|
| Size | 5.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
ae1adcd97477b12cabec0d810bf148c8bbfba8610b797d77e579233586e1b6c8
|
|
BLAKE2b-256 checksum How to use checksums |
a529ed45732b0ef25d16510d86cd33f0959abe88648f2cf40f3b5362bf6127e4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
python-requests/2.34.2
|
Release files / wagtail_prose_editor_images-0.2.1-py2.py3-none-any.whl
| Download URL | wagtail_prose_editor_images-0.2.1-py2.py3-none-any.whl |
|---|---|
| Size | 6.6 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
0b025e6a6d8fd75ddf0b89626e1bb479d6a0f94ec7532168732d015793240337
|
|
BLAKE2b-256 checksum How to use checksums |
7791ee39b9772eccda689bcc33ab0c82e6decade1688f63feab72c71c433a762
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
python-requests/2.34.2
|