I’d like your help in this grammar muddle. Which is correct? Are both structures correct?

She not only wrote the text but also selected the illustrations.
2) She didn't only write the text but also selected the illustrations
I got myself tangled up with this grammar issue. I’d really appreciate it if you could help me with this question.

Regards from Lima - Peru.
1 2 3 4 5
Comments  (Page 5) 
The second sentence is the correct one
i think both the answer are correct , so you do not need to worry abt anything
Students: Are you brave enough to let our tutors analyse your pronunciation?
I don't know who Phillip is but he is incorrect. The correct usage of not only....but also in your sentence is:

Not only did she write the text, but she also selected the illustrations.

A TOEFL teacher
I doubt whether the above sentence " Not only your punctuation but also your spelling leaves something to be desired." is grammatically correct. As I know 'not only--but als--' means 'both -and-' so according to the subject & verb agreement rules, the verb ' leaves ' should be plural not singular.
When there is no auxiliary verb or main verb be, we use do, does, did: Not only did she forget my birthday, but she also didn’t even apologise for forgetting it.
Teachers: We supply a list of EFL job vacancies