1
0
mirror of https://github.com/ianstormtaylor/slate.git synced 2025-08-19 13:41:19 +02:00

docs: Minor change to try and make gitbook update

This commit is contained in:
Sunny Hirai
2021-04-01 18:12:33 -07:00
parent 15966086d4
commit 8b44646fa7

View File

@@ -19,7 +19,7 @@ Slate supports typing of one Slate document model (ie. one set of custom `Editor
To define a custom `Element` or `Text` type, extend the `CustomTypes` interface in the `slate` module like this.
```ts
// This example is for an Editor with `ReactEditor` and `HistoryEditor`
// This example is for an Editor that uses `ReactEditor` and `HistoryEditor`
import { BaseEditor } from 'slate'
import { ReactEditor } from 'slate-react'
import { HistoryEditor } from 'slate-history'