Type pinyin with tone numbers.
When you enter a tone number, the tone mark will added.
For example: qing1 pen2 da4 yu3 (倾盆大雨，heavy rain)
Note, that the tone number must always be the last character on the line as you type.
So, if you have to revise, it will be necessary to erase back the the point of revision.
Paste pinyin with tone numbers then