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