Editor field type using DraftJS
What I Did
- Implemented DraftJS editor component
- Limited defaults
- Added component to storybook
Implications
There may be more to do for further use cases, however this should be enough for simple cases.
Setup
Run yarn
to install dev dependancies
How to test
- Spin up storybook
yarn storybook
- Ensure the
Editor
component appears - Make sure it behaves as expected