Skip to content

autoFocus places the cursor at the beginning of the text #804

Answered by zbeyens
baptisteArno asked this question in Q&A
Discussion options

You must be logged in to vote

You can use Transforms.select in onFocus handler, which can be defined in a plugin createFocusEditorPlugin with an option target set to "end"

Please share the plugin here if you managed :)

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@baptisteArno
Comment options

baptisteArno Jul 8, 2021
Collaborator Author

@zbeyens
Comment options

@zbeyens
Comment options

Answer selected by baptisteArno
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
2 participants