You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In some cases when I initialize an editor, I want to immediately focus and select all the content.
What’s the solution you would like to see?
The autofocus property of editor accepts several parameters for what position in the text should be selected: start, end, or a number. I would like a new possible value of all or selectAll to be an option.
What problem are you facing?
In some cases when I initialize an editor, I want to immediately focus and select all the content.
What’s the solution you would like to see?
The
autofocus
property ofeditor
accepts several parameters for what position in the text should be selected:start
,end
, or a number. I would like a new possible value ofall
orselectAll
to be an option.What alternatives did you consider?
I currently do this in a
useEffect
hook:Anything to add? (optional)
No response
Are you sponsoring us?
The text was updated successfully, but these errors were encountered: