Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

> All I get is either the file path if I use Ctrl+C and Ctrl+V or I get presented with all the JS if I try and drag it into a blank doc.

It sounds as though you are copying the file manager listing for the file, rather than the file's contents. If so:

1. Open the source document in any convenient text editor.

2. Press Ctrl+A to select all the text in the document.

3. Pres Ctrl+C to copy the document's contents onto your system clipboard.

4. Move to the destination document or Web page.

5. Press Ctrl+V to paste the clipboard contents into the destination.



Consider applying for YC's Summer 2026 batch! Applications are open till May 4

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: