An example of using Tiptap in a class component? #2235
Unanswered
neongreen
asked this question in
Questions & Help
Replies: 1 comment
-
This is expected #2158 (comment) |
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
-
I have created a functional React component embedding Tiptap, but it always rerenders on keypress. I suspect it's an unfortunate interaction between functional components and refs.
I want to try rewriting my component to be a class, but
useEditor
cannot be used in class components. Are there any examples of embedding Tiptap into a class component in React?For reference, my code is here:
Beta Was this translation helpful? Give feedback.
All reactions