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.
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.
Edit: or maybe that was the concern, but this other concern exists too :)