Grab and go draft.js editor
npm install --save draft-go
import React, { Component } from 'react';
import GoEditor from 'draft-go';
export default class Main extends Component {
render() {
return (
<div as="main" role="main">
<GoEditor
onChange={(editorState) => this.setState({editorState})}
/>
</div>
)
}
}