Skip to main content

The brand new Wagtail StreamField!

Project description

http://img.shields.io/pypi/v/wagtail-react-streamfield.svg?style=flat-square&maxAge=3600

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

https://raw.github.com/noripyt/wagtail-react-streamfield/master/wagtail-react-streamfield-screenshot-1.png https://raw.github.com/noripyt/wagtail-react-streamfield/master/wagtail-react-streamfield-screenshot-2.png https://raw.github.com/noripyt/wagtail-react-streamfield/master/wagtail-react-streamfield-screenshot-3.png

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

wagtail-react-streamfield-1.3.0.tar.gz (145.9 kB view details)

Uploaded Source

Built Distribution

wagtail_react_streamfield-1.3.0-py3-none-any.whl (150.2 kB view details)

Uploaded Python 3

File details

Details for the file wagtail-react-streamfield-1.3.0.tar.gz.

File metadata

File hashes

Hashes for wagtail-react-streamfield-1.3.0.tar.gz
Algorithm Hash digest
SHA256 38c1a8236fab609d07bb7e658984ee598624114ae4fe415a26b7a8f392b9762f
MD5 0f0a8b51bf1a83c5ffc6e61f547b728f
BLAKE2b-256 c2295472da0a0b940a3e43895b03c7c8a5f5921e7c1fb79261d4b1de17c843ee

See more details on using hashes here.

File details

Details for the file wagtail_react_streamfield-1.3.0-py3-none-any.whl.

File metadata

File hashes

Hashes for wagtail_react_streamfield-1.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 c461c342d04e539405df9dc22e0720faf1f26e52a31499205092778586d9dac3
MD5 ed8c5edb6f41c82723c9f4ca192310f4
BLAKE2b-256 b563c7db62ad58539a2ada8431e3dd424b88dffdd82317b7c1b26533564b216d

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page