mirror of
https://github.com/ianstormtaylor/slate.git
synced 2025-08-11 01:33:58 +02:00
missing dependency (#4656)
This commit is contained in:
@@ -51,7 +51,7 @@ Of course we haven't rendered anything, so you won't see any changes.
|
|||||||
|
|
||||||
```typescript
|
```typescript
|
||||||
// TypeScript users only add this code
|
// TypeScript users only add this code
|
||||||
import { BaseEditor } from 'slate'
|
import { BaseEditor, Descendant } from 'slate'
|
||||||
import { ReactEditor } from 'slate-react'
|
import { ReactEditor } from 'slate-react'
|
||||||
|
|
||||||
type CustomElement = { type: 'paragraph'; children: CustomText[] }
|
type CustomElement = { type: 'paragraph'; children: CustomText[] }
|
||||||
|
Reference in New Issue
Block a user