mirror of
https://github.com/ianstormtaylor/slate.git
synced 2025-08-19 05:31:56 +02:00
docs: Minor change to try and make gitbook update
This commit is contained in:
@@ -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'
|
||||
|
Reference in New Issue
Block a user