Giter Site home page Giter Site logo

andsimakov / wagtail-react-streamfield Goto Github PK

View Code? Open in Web Editor NEW

This project forked from wagtail-deprecated/wagtail-react-streamfield

0.0 1.0 0.0 1.58 MB

License: BSD 3-Clause "New" or "Revised" License

Python 47.03% CSS 21.32% JavaScript 30.86% HTML 0.79%

wagtail-react-streamfield's Introduction

Wagtail React StreamField

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

wagtail-react-streamfield's People

Contributors

bertrandbordage avatar mwesterhof avatar roelio avatar shagrat avatar pyneda avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.