mirror of
https://github.com/ianstormtaylor/slate.git
synced 2025-08-20 06:01:24 +02:00
docs: Fix lint prettier issue
This commit is contained in:
@@ -4,7 +4,6 @@ Slate supports typing of one Slate document model (ie. one set of custom `Editor
|
|||||||
|
|
||||||
**Warning:** You must define `CustomTypes` when using TypeScript or Slate will display typing errors.
|
**Warning:** You must define `CustomTypes` when using TypeScript or Slate will display typing errors.
|
||||||
|
|
||||||
|
|
||||||
## Defining `Editor`, `Element` and `Text` Types
|
## Defining `Editor`, `Element` and `Text` Types
|
||||||
|
|
||||||
To define a custom `Element` or `Text` type, extend the `CustomTypes` interface in the `slate` module like this.
|
To define a custom `Element` or `Text` type, extend the `CustomTypes` interface in the `slate` module like this.
|
||||||
|
Reference in New Issue
Block a user