Skip to content

Commit

Permalink
docs: Typo in Focus Command Documentation of Editor (#2476)
Browse files Browse the repository at this point in the history
A pretty small fix. The word `boolean` was misspelled.
  • Loading branch information
AngadSethi committed Feb 3, 2022
1 parent 7e2f0ae commit e992643
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/api/commands/focus.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ See also: [setTextSelection](/api/commands/set-text-selection), [blur](/api/comm

By default, it’s restoring the cursor position (and text selection). Pass a position to move the cursor too.

`options: { scrollIntoView: boolen }`
`options: { scrollIntoView: boolean }`

Defines whether to scroll to the cursor when focusing. Defaults to `true`.

Expand Down

0 comments on commit e992643

Please sign in to comment.