mirror of
https://github.com/ianstormtaylor/slate.git
synced 2025-08-23 15:32:59 +02:00
update docs
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
|
||||
### `<Editor>`
|
||||
# `<Editor>`
|
||||
|
||||
```js
|
||||
import { Editor } from 'Slate'
|
||||
@@ -17,7 +17,7 @@ The top-level React component that renders the Slate editor itself.
|
||||
- [`onChange(state)`](#onchange-state-void)
|
||||
|
||||
|
||||
### Properties
|
||||
## Properties
|
||||
|
||||
```js
|
||||
<Editor
|
||||
@@ -90,7 +90,7 @@ const plugins = [
|
||||
```
|
||||
|
||||
|
||||
### Methods
|
||||
## Methods
|
||||
|
||||
#### `getState() => State`
|
||||
|
||||
|
Reference in New Issue
Block a user