about summary refs log tree commit diff
path: root/src/lib/type-assertions.ts
diff options
context:
space:
mode:
authorPaul Frazee <pfrazee@gmail.com>2023-08-17 13:39:59 -0700
committerGitHub <noreply@github.com>2023-08-17 13:39:59 -0700
commit4a59178cd2d7028e99a977e0ed10193d135e30dd (patch)
treead02636ac1987214843a737df94b48d240427819 /src/lib/type-assertions.ts
parent5e63d3164b58552f81b597eff83cba991bea958e (diff)
downloadvoidsky-4a59178cd2d7028e99a977e0ed10193d135e30dd.tar.zst
Update the web composer textinput to an emitter (close #1193) (#1205)
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/lib/type-assertions.ts')
0 files changed, 0 insertions, 0 deletions