Skip to content

Commit fe5d470

Browse files
authored
Merge pull request #4164 from martin-lysk/main
fixes docs - wrong parameter name
2 parents a12138d + abd6335 commit fe5d470

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

apps/www/content/docs/en/api/slate/editor-transforms.mdx

+1-1
Original file line numberDiff line numberDiff line change
@@ -630,7 +630,7 @@ Move the selection's point.
630630

631631
### `select`
632632

633-
Set the selection to a new value specified by `target`. When a selection already exists, this method just calls `setSelection`.
633+
Set the selection to a new value specified by `at`. When a selection already exists, this method just calls `setSelection`.
634634

635635
```ts
636636
editor.tf.select(at)

packages/slate/src/interfaces/editor/editor-transforms.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -296,7 +296,7 @@ export type EditorTransforms<V extends Value = Value> = {
296296
/** Move the selection's point forward or backward. */
297297
move: OmitFirst<typeof moveSelection>;
298298
/**
299-
* Set the selection to a new value specified by `target`. When a selection
299+
* Set the selection to a new value specified by `at`. When a selection
300300
* already exists, this method is just a proxy for `setSelection` and will
301301
* update the existing value.
302302
*

0 commit comments

Comments
 (0)