Skip to content

Dynamic data from React state in Mention #3648

Discussion options

You must be logged in to vote

Seems like I have found how to accomplish this - useEditor has a dependency array which can be utilized to update the editor on state/prop change. I only needed to add the state to that array

Replies: 2 comments 3 replies

Comment options

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

@BenJeau
Comment options

@jonahallibone
Comment options

Answer selected by BenJeau
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
3 participants