Earlier quoted context omitted.
By her father, not herself. She sort of died before she had an opportunity to edit her writings for publication.
https://www.historyextra.com/period/20th-century/anne-frank-... > But the manuscript that Otto Frank pitched to Dutch editors didn’t contain his daughter’s entire diary. Anne herself had begun editing large swathes of her diary with publication in mind after hearing a radio broadcast that called on Dutch people to preserve diaries and other war documents. Otto respected some of those editorial decisions, but overlook…
There is no 'unedited' version of Anne's diary, as Anne herself intentionally edited and re-edited her work during her time in the Annex. A remarkable young woman. What was published to readers are various versions that have additionally been further somewhat edited by others and in places censored, with the trend being towards gradually less censorship over time.