1
0
mirror of https://github.com/ianstormtaylor/slate.git synced 2025-02-26 18:24:38 +01:00
Eamon Taaffe e66adf1295 Issue with the Overriding Defaults example. (#914)
I tried using the exact code from the example to be met by errors.

The order of arguments in the function example is wrong, it should be use the API described in the [docs](https://docs.slatejs.org/reference/plugins/plugin.html#onbeforeinput).

```
Function onBeforeInput(event: Event, data: Object, state: State, editor: Editor) => State || Void
```
2017-07-11 13:08:50 -07:00
..
2017-04-24 18:23:53 -07:00