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 Packages
- wagtail-image-directories: Tired of dumping all uploaded images into a flat
media/original_images/folder? Organize your media into cleanyear/slugdirectories on disk with an interactive visual navigator.
- wagtail-mptt-comments: Add fast, hierarchical MPTT comment trees with multi-layer anti-spam defense (honeypot, timing, math captcha) and an AJAX admin moderation dashboard.
Case Study & Background
Read the full story behind the migration and architecture on our blog: Vs-Svet.ru / ZenWay.ru.
Metadata
Release files for wagtail-prose-editor-images 0.2.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.2.2.tar.gz | 6.2 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| wagtail_prose_editor_images-0.2.2-py2.py3-none-any.whl | Python 3, Python 2 | none | any | Details |
Total release size: 14.3 kB
Release files / wagtail_prose_editor_images-0.2.2.tar.gz
| Download URL | wagtail_prose_editor_images-0.2.2.tar.gz |
|---|---|
| Size | 6.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
5c5523dd83bb4e64d9853a60f2651f22f8aacabc8e5ad900a12404684b585a13
|
|
BLAKE2b-256 checksum How to use checksums |
cff5ab1ee636ba9d56a76fe9380de2b178ed567a520fc3bbe09d5615a7beb00a
|
| 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.2-py2.py3-none-any.whl
| Download URL | wagtail_prose_editor_images-0.2.2-py2.py3-none-any.whl |
|---|---|
| Size | 8.1 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
34c01ac70be590ec1e7ba34ec5bd045a632ba45b7fec4dd127e630998634f416
|
|
BLAKE2b-256 checksum How to use checksums |
0c004e8e510372ee28b3073c516e7557f84d29f67d84c7176d7c9d3542e8d442
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
python-requests/2.34.2
|