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
{{ message }}
This repository has been archived by the owner on Feb 6, 2023. It is now read-only.
I suggest using EditorState.createWithContent to initialize, rather than using createEmpty and pushing. Unless you want the user to be able to undo back to an empty state.
I'm prepopulating draft-js with content but when I do focus is always at the start:
I'm setting the value in my constructor:
Selection after seems to be ignored. I've also tried forcing this in
componentDidMount
to no avail.Am I misunderstanding the API or is this a missing feature?
The text was updated successfully, but these errors were encountered: