mirror of
https://github.com/docmost/docmost.git
synced 2025-11-10 03:32:06 +10:00
Handle token refresh without disrupting editor state by disconnecting, updating token, and reconnecting the HocuspocusProvider. This prevents scroll position resets and maintains user context during authentication token renewal.