mirror of
https://github.com/ianstormtaylor/slate.git
synced 2025-04-21 13:51:59 +02:00
Add voids to the interface definition of positions (#4062)
* Add voids to the interface definition of positions * Update editor.ts
This commit is contained in:
parent
d12413fff9
commit
e2576108a6
@ -225,6 +225,7 @@ export interface EditorInterface {
|
||||
at?: Location
|
||||
unit?: 'offset' | 'character' | 'word' | 'line' | 'block'
|
||||
reverse?: boolean
|
||||
voids?: boolean
|
||||
}
|
||||
) => Generator<Point, void, undefined>
|
||||
previous: <T extends Node>(
|
||||
|
Loading…
x
Reference in New Issue
Block a user