Hacker News new | ask | show | jobs
by josephg 661 days ago
If thats what you're worried about, use Yjs. Yjs doesn't store deleted characters in documents. Unless you actively make yjs snapshots, once a character in a yjs document is deleted, its gone.
1 comments

Huh! I wonder how that works if the deletion isn't synced with other clients yet.
It stores the deleted ranges, but not the chars of text that compose those ranges.

So from a privacy perspective, you see the metadata of edit history (the DAG of character positions edited), but are blind to the text.

Ah! That makes sense, thanks - today I learned!