diff options
author | Paul Frazee <pfrazee@gmail.com> | 2023-08-17 13:39:59 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-08-17 13:39:59 -0700 |
commit | 4a59178cd2d7028e99a977e0ed10193d135e30dd (patch) | |
tree | ad02636ac1987214843a737df94b48d240427819 /src/view/com/post-thread/PostThreadItem.tsx | |
parent | 5e63d3164b58552f81b597eff83cba991bea958e (diff) | |
download | voidsky-4a59178cd2d7028e99a977e0ed10193d135e30dd.tar.zst |
The tiptap useEditor() hook creates an awkward challenge for passing event handlers into its plugins and native events. By introducing a memoized editor, we should be able to shuttle events out of tiptap without retriggering the useEditor hook. The emitter can then change its registered handlers with each state update.
Diffstat (limited to 'src/view/com/post-thread/PostThreadItem.tsx')
0 files changed, 0 insertions, 0 deletions