mirror of
https://github.com/ianstormtaylor/slate.git
synced 2025-07-31 04:20:26 +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 users only add this code
|
||||
import { BaseEditor } from 'slate'
|
||||
import { BaseEditor, Descendant } from 'slate'
|
||||
import { ReactEditor } from 'slate-react'
|
||||
|
||||
type CustomElement = { type: 'paragraph'; children: CustomText[] }
|
||||
|
Reference in New Issue
Block a user