The brand new Wagtail StreamField!
Project description
Drop-in replacement for the StreamField in Wagtail.
This work was funded thanks to a Kickstarter campaign!
It relies on react-streamfield, a React package created for the occasion.
This work is currently in beta phase and will in the end be merged in Wagtail. You should be careful and manually check that it works for your own StreamField and report any bug you find.
Requirements
Wagtail 2.6 or above.
Getting started
It’s really easy to setup, like most NoriPyt packages:
pip install wagtail-react-streamfield
Add 'wagtail_react_streamfield', to your INSTALLED_APPS before 'wagtail.admin', 'wagtail.images', 'wagtail.docs' & 'wagtail.snippets'
That’s it!
Usage
wagtail-react-streamfield has the same class API as the regular StreamField. What changes:
Meta attributes (or passed to __init__)
- closed
Set to True to close all blocks of this type when loading the page. Defaults to False.
Screenshots
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file wagtail-react-streamfield-1.3.3.tar.gz
.
File metadata
- Download URL: wagtail-react-streamfield-1.3.3.tar.gz
- Upload date:
- Size: 142.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: Python-urllib/3.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 405d0ba69506e7dfcec4e8a758dbf7f5518b577364479ad6bbea23527e771868 |
|
MD5 | eb1eddd13af829ad4ae79a019640fe37 |
|
BLAKE2b-256 | 69ecadc12d9658c36ad4893b24982e98fd787b99f54e0ace88d1022fec98acbe |
File details
Details for the file wagtail_react_streamfield-1.3.3-py3-none-any.whl
.
File metadata
- Download URL: wagtail_react_streamfield-1.3.3-py3-none-any.whl
- Upload date:
- Size: 146.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: Python-urllib/3.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5f973cca31ba604eeb70fef6343e0dcf0eae180c241092f33196dc7ac490d1d1 |
|
MD5 | 0b352189aba3ef567a46afdd262d9642 |
|
BLAKE2b-256 | 6ed158a3e848bc691e362a3250d34b754209d94f780fc914c5db36e38ed5e008 |