To Include a File Using Drag and Drop
When using drag and drop, the contents of the file are copied into the Text Editor window at the position of the insertion cursor. The original file remains intact.
Click in your document where you want to include the file.
Drag the file icon that you want to include into the Text Editor window.