mirror of
https://github.com/ianstormtaylor/slate.git
synced 2025-08-23 23:42:56 +02:00
update docs
This commit is contained in:
@@ -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`
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user