autofocus editor on page load on iOS browsers? #5504
Unanswered
jsjoeio
asked this question in
Questions & Help
Replies: 2 comments 2 replies
-
You can pass in It can also be done by calling the methods of the editor instance after initializing the editor
|
Beta Was this translation helpful? Give feedback.
2 replies
-
You can call this dynamically or inside the editor editor.commands.focus("start"); |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Has anyone had any luck with this? I've tried both
editor.commands.focus("end")
andeditor.chain().focus().run();
in a React app but no luck. I saw this StackOverflow post about how Nike does it for inputs but couldn't figure out which element to use it on for TipTap.Any suggestions?
Beta Was this translation helpful? Give feedback.
All reactions