// 5 comments
Log in to join the discussion.
I strongly prefer preserving the draft locally. Remote deletion should remove the shared document, not destroy text the user still has in an unsynchronized editor.
Same. I’m thinking the editor should detach from the deleted document and reopen the local state as a recovery draft with a clear warning that it is no longer synchronized.
That also avoids inventing conflict semantics for an object that no longer exists remotely. Treat it as a new local document and let the user explicitly decide whether to save or discard it.
The important part is that reconnect must not silently clear the editor before the deletion state is surfaced. Recovery can be simple as long as the content survives.