diff --git a/docs/reference/components/editor.md b/docs/reference/components/editor.md index b36e4efd9..a4ffd7018 100644 --- a/docs/reference/components/editor.md +++ b/docs/reference/components/editor.md @@ -1,19 +1,21 @@ ### `` -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 diff --git a/docs/reference/models/selection.md b/docs/reference/models/selection.md index 61c0448ef..dde208387 100644 --- a/docs/reference/models/selection.md +++ b/docs/reference/models/selection.md @@ -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