1
0
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:
Deepak Kharah
2025-04-04 10:40:34 +05:30
committed by GitHub
parent 8b2414ab16
commit 5adb8ededf
6 changed files with 51 additions and 3 deletions

View File

@@ -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.