Skip to content

Commit

Permalink
docs(api): document deprecation of whitelist in favor of allowlist
Browse files Browse the repository at this point in the history
  • Loading branch information
thibaudcolas committed Nov 21, 2020
1 parent 4d48cba commit 682a914
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,10 @@ blockTextRules?: $ReadOnlyArray<{
}>,
```

### Deprecated

`filterEditorState` (and `shouldKeepEntityByAttribute` described further below) used to support a `whitelist` config option. It has been renamed to `allowlist`, and will be removed altogether in a future release.

### Types

If your project uses [Flow](https://flow.org/), type inference should just work. If you don't use Flow, it won't get in your way either.
Expand Down

0 comments on commit 682a914

Please sign in to comment.