1
0
mirror of https://github.com/ianstormtaylor/slate.git synced 2025-08-27 17:09:53 +02:00

Fix documentation

This commit is contained in:
Sunny Hirai
2021-03-13 19:37:09 -08:00
parent 1375ba7a40
commit b0f35f6dbe

View File

@@ -4,7 +4,7 @@ Slate supports typing of one Slate document model (eg. one set of custom `Elemen
If you need to support more than one document model, see the section Multiple Document Models. If you need to support more than one document model, see the section Multiple Document Models.
## Defining `Element` and Text Types ## Defining `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.