Prevent KB editor link extension state leaking between article creates

Fixkamo-internal
Shipped
March 28, 2026 at 5:01 PM UTC
Author
kamo
Commit
3f4254a

Move Lexical extensions from module-level singletons into a factory function called via useMemo per component mount, so each new article gets fresh extension instances with clean internal state.

All changes

Like what you see shipping?

Every one of these updates lands in your workspace automatically. Start free and watch it grow week after week.

Start Free ForeverView Pricing