README
vertical-draft-editor
Description
vertical text editor,base on draft。
Instructions
- npm
`
npm install vertical-draft-editor
`
- import Editor
`
import Editor from 'vertical-draft-editor';
...
<Editor
rawContent={data}
onChange={(result) => { console.log(result) }}
/>
`
rawContent data type is RawDraftContentState.toString() .
- externals react & react-dom.
Contribution
- Fork the repository
- Create Feat_xxx branch
- Commit your code
- Create Pull Request