Franks diary was edited, both by herself and later publishers.
Sure, it was edited. The point is, there exist those of us who have desire to read the unedited version.
By her father, not herself. She sort of died before she had an opportunity to edit her writings for publication.
Some argue that her father’s editing was detrimental, that it removed some of her voice and her experience. I think there’s something to editing out the more… problematic parts of a pubescent child’s diary. I would have been mortified if my thoughts of that nature were published, and the censorship allowed the diary to reach a more broad audience in e.g. grade schools. But at the same time, I do understand the wish to see the full, authentic story.