mirror of
https://github.com/ianstormtaylor/slate.git
synced 2025-08-10 17:24:02 +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:
@@ -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>(
|
||||
|
Reference in New Issue
Block a user