mirror of
https://github.com/ianstormtaylor/slate.git
synced 2025-07-31 20:40:19 +02:00
update docs
This commit is contained in:
@@ -1,19 +1,21 @@
|
||||
|
||||
### `<Editor>`
|
||||
|
||||
The top-level React component that renders the Slate editor itself.
|
||||
|
||||
- [Module](#module)
|
||||
- [Properties](#properties)
|
||||
- [Methods](#methods)
|
||||
|
||||
|
||||
### Module
|
||||
|
||||
```js
|
||||
import { Editor } from 'Slate'
|
||||
```
|
||||
|
||||
The top-level React component that renders the Slate editor itself.
|
||||
|
||||
- [Properties](#properties)
|
||||
- [`onChange`](#onchange-function)
|
||||
- [`plugins`](#plugins-array)
|
||||
- [`state`](#state-state)
|
||||
- [`...`](#)
|
||||
- [Methods](#methods)
|
||||
- [`getState()`](#getstate-state)
|
||||
- [`onChange(state)`](#onchange-state-void)
|
||||
|
||||
|
||||
### Properties
|
||||
|
||||
|
@@ -28,10 +28,10 @@ Often times, you don't need to specifically know which point is the "anchor" and
|
||||
- [`startKey`](#startkey-string)
|
||||
- [`startOffset`](#startoffset-number)
|
||||
- [Checking Methods](#checking-methods)
|
||||
- [`has{Edge}AtEndOf`](has-edge-atendof-node)
|
||||
- [`has{Edge}AtStartOf`](has-edge-atstartof-node)
|
||||
- [`has{Edge}Between`](has-edge-between-node-start-end)
|
||||
- [`has{Edge}In`](has-edge-in-node-start-end)
|
||||
- [`has{Edge}AtEndOf`](hasedgeatendof-node)
|
||||
- [`has{Edge}AtStartOf`](hasedgeatstartof-node)
|
||||
- [`has{Edge}Between`](hasedgebetween-node-start-end)
|
||||
- [`has{Edge}In`](hasedgein-node-start-end)
|
||||
- [`isAtEndOf`](isatendof-node)
|
||||
- [`isAtStartOf`](isatstartof-node)
|
||||
- [Transforming Methods](#transforming-methods)
|
||||
@@ -46,7 +46,7 @@ Often times, you don't need to specifically know which point is the "anchor" and
|
||||
- [`moveToEndOf`](movetoendof-node)
|
||||
- [`moveToRangeOf`](movetorangeof-node)
|
||||
- [`moveToStartOf`](movetostartof-node)
|
||||
- [`moveTo{Edge}`](moveto-edge)
|
||||
- [`moveTo{Edge}`](movetoedge)
|
||||
|
||||
|
||||
### Properties
|
||||
|
Reference in New Issue
Block a user