about summary refs log tree commit diff
path: root/yarn.lock
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 /yarn.lock
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 'yarn.lock')
-rw-r--r--yarn.lock5
1 files changed, 5 insertions, 0 deletions
diff --git a/yarn.lock b/yarn.lock
index 8295df224..f49b9a12d 100644
--- a/yarn.lock
+++ b/yarn.lock
@@ -10150,6 +10150,11 @@ eventemitter3@^4.0.0, eventemitter3@^4.0.4:
   resolved "https://registry.yarnpkg.com/eventemitter3/-/eventemitter3-4.0.7.tgz#2de9b68f6528d5644ef5c59526a1b4a07306169f"
   integrity sha512-8guHBZCwKnFhYdHr2ysuRWErTwhoN2X8XELRlrRwpmfeY2jjuUN4taQMsULKUVo1K4DvZl+0pgfyoysHxvmvEw==
 
+eventemitter3@^5.0.1:
+  version "5.0.1"
+  resolved "https://registry.yarnpkg.com/eventemitter3/-/eventemitter3-5.0.1.tgz#53f5ffd0a492ac800721bb42c66b841de96423c4"
+  integrity sha512-GWkBvjiSZK87ELrYOSESUYeVIc9mvLLf/nXalMOS5dYrgZq9o5OVkbZAVM06CVxYsCwH9BDZFPlQTlPA1j4ahA==
+
 events@3.3.0, events@^3.2.0, events@^3.3.0:
   version "3.3.0"
   resolved "https://registry.yarnpkg.com/events/-/events-3.3.0.tgz#31a95ad0a924e2d2c419a813aeb2c4e878ea7400"