1
0
mirror of https://github.com/ianstormtaylor/slate.git synced 2025-03-07 14:30:04 +01:00

update docs

This commit is contained in:
Ian Storm Taylor 2016-07-11 13:49:02 -07:00
parent b6f7f70c53
commit f17a2c0e94

@ -3,8 +3,6 @@
The top-level React component that renders the Slate editor itself.
The editor takes a `State` instance that contains it's content and selection, and an array of `plugins` that define its behavior.
### Properties
@ -51,7 +49,9 @@ These properties are actually just a convenience—an implicit plugin defintion.
For example, these two snippets of code are equivalent:
```js
const plugins = [somePlugin]
const plugins = [
somePlugin
]
<Editor
onKeyDown={myKeyHandler}