Skip to content

Setting OnChange to Plate makes Editor onfocusable #3600

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

You must be logged in to vote

Looks like you forgot to use useMemo. The editor is being re-created on each re-render. Or you could use usePlateEditor that is memoized.

Replies: 1 comment 7 replies

Comment options

You must be logged in to vote
7 replies
@BasicallyPolaris
Comment options

@zbeyens
Comment options

@BasicallyPolaris
Comment options

@zbeyens
Comment options

Answer selected by BasicallyPolaris
@BasicallyPolaris
Comment options

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