Recover live sync after Obsidian resets an open editor state #35

Open
opened 2026-11-04 00:55:45 +00:00 by BlackHatMagic · 0 comments

Observed on silverquill test-vault and test-vault2: same remote vault, valid owner/contributor sessions, open WebSockets, but editor length 27 while Y.Text length 21 and dirty queue empty. Reproduced with real CodeMirror: EditorView.setState removes appendConfig yCollab while DOM remains connected; stale isBoundTo skips both reattach and disk edit capture. Verify actual extension/plugin presence, recover after state resets, preserve unbound editor edits, and regression-test real CodeMirror reset and two-client propagation. Install corrected preview into both test vaults preserving notes/data.json; no backend redeployment.

Observed on silverquill test-vault and test-vault2: same remote vault, valid owner/contributor sessions, open WebSockets, but editor length 27 while Y.Text length 21 and dirty queue empty. Reproduced with real CodeMirror: EditorView.setState removes appendConfig yCollab while DOM remains connected; stale isBoundTo skips both reattach and disk edit capture. Verify actual extension/plugin presence, recover after state resets, preserve unbound editor edits, and regression-test real CodeMirror reset and two-client propagation. Install corrected preview into both test vaults preserving notes/data.json; no backend redeployment.
Sign in to join this conversation.
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
BlackHatMagic/Behold.quest#35
No description provided.