Skip to content
This repository has been archived by the owner on May 31, 2020. It is now read-only.
/ next Public archive

The next version of draft-js-plugins (alpha)

License

Notifications You must be signed in to change notification settings

draft-js-plugins/next

Repository files navigation

draft-js-plugins@next

All Contributors Build Status codeship

DISCLAIMER: This project is unmaintained.

Unfortunately the next version of draft js plugins has become unmaintained. If you are interested in maintaining draft js plugins please follow the steps outlined here.

Examples

Contributing

Install project

  1. Run npm install (we use package-lock.json rather than yarn)
  2. Run yarn lerna bootstrap, this will install all dependencies of all packages and examples.

Contributing

Feature prs

  • Please open an issue first
  • We're reachable on the draft js slack

Working locally

In order to work on packages and examples at the same time, just run yarn lerna link and start yarn watch in the package/example folders you want to work on.

Process

If you'd like to contribute, please follow this process. If you disagree with the process or would like to change it, just open an issue or talk to me on slack.

  1. Plugins go into the packages folder. Plugins are basic building blocks, they don't cater to a specific usecase, but should be used as composable building blocks for your draft js app. Generally I'm trying to avoid any styling and leave that up to user land. Usage of render props and inversion of control is encouraged, if you're not sure what I mean, please have a peak at Kent's video building downshift.
  2. We use flow for type checking.
  3. Examples are our playground for trying out packages we're working out and building out different usecases. standalone create-react-app apps found in the examples folder. To add an example, just copy an existing example and modify it to suit your needs.

Working on Documentation

We use gitbook for documentation, in order to add documentation for a package you're working on, you can just add a readme in the package folder, and link it from the main readme.

To show the docs in your browser while writing them, run npm run docs

Contributors

Thanks goes to these wonderful people (emoji key):


blackywkl

💻 📖 💡

Hosmel Quintana

💻

Rose

💻

This project follows the all-contributors specification. Contributions of any kind welcome!

About

The next version of draft-js-plugins (alpha)

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 3

  •  
  •  
  •