mirror of
https://github.com/ianstormtaylor/slate.git
synced 2025-09-02 11:42:53 +02:00
doc: add missing APIs in the doc (#5835)
* doc: add missing APIs in the doc * refactor: apply lint
This commit is contained in:
@@ -27,7 +27,7 @@ Transforms.select(editor, selectionRef.unref())
|
||||
|
||||
## Instance methods
|
||||
|
||||
#### `unref() => Range`
|
||||
#### `unref() => Range | null`
|
||||
|
||||
Call this when you no longer need to sync this range.
|
||||
It also returns the current value.
|
||||
|
Reference in New Issue
Block a user