Do you want people to click on the file and download your pdf or doc files?
Do the steps:
Write the post or whatever your are writing in the editor. And, below that you will see upload button. Go the get the file uploaded. Make sure you name the file and write something on the description as well. Then, send the file to the editor.