Skip to content

Commit

Permalink
Change docs
Browse files Browse the repository at this point in the history
  • Loading branch information
YozhikM committed Jun 23, 2018
1 parent ee534ab commit bbdf2c8
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions README.md
Expand Up @@ -6,9 +6,7 @@
[![Greenkeeper badge](https://badges.greenkeeper.io/YozhikM/draft-regex.svg)](https://greenkeeper.io/)
![FlowType compatible](https://img.shields.io/badge/flowtype-compatible-brightgreen.svg)

These plugins are written for Draft.js and React to improve TextEditor capabilities.

To use static typing, make sure [that you have installed Flow](https://flow.org/en/docs/install).
These helpers are written for Draft.js to improve Editor capabilities.

## Requirements

Expand Down Expand Up @@ -75,7 +73,7 @@ class MyEditor extends React.Component<void, State> {

## API

All plugin as an argument are taken by EditorState and options and returned EditorState.
All helpers are taken by EditorState and options as an argument and returned EditorState.

### clearEmptyBlocks

Expand Down

0 comments on commit bbdf2c8

Please sign in to comment.