1
0
mirror of https://github.com/ianstormtaylor/slate.git synced 2025-08-23 15:32:59 +02:00

update docs

This commit is contained in:
Ian Storm Taylor
2016-07-11 15:59:00 -07:00
parent 518952172b
commit b2c6b87184

View File

@@ -1,5 +1,5 @@
### `<Editor>` # `<Editor>`
```js ```js
import { Editor } from 'Slate' import { Editor } from 'Slate'
@@ -17,7 +17,7 @@ The top-level React component that renders the Slate editor itself.
- [`onChange(state)`](#onchange-state-void) - [`onChange(state)`](#onchange-state-void)
### Properties ## Properties
```js ```js
<Editor <Editor
@@ -90,7 +90,7 @@ const plugins = [
``` ```
### Methods ## Methods
#### `getState() => State` #### `getState() => State`