#37515 closed defect (bug) (worksforme)
Using Add Media to import a Word document (.docx) just results in a link, not the document.
Reported by: | kmessinger | Owned by: | |
---|---|---|---|
Milestone: | Priority: | normal | |
Severity: | normal | Version: | 4.6 |
Component: | Media | Keywords: | |
Focuses: | Cc: |
Description
Create a document in Word Online. Save to local computer. Using WP 4.6-RC1-38170, new post or new page, add media and select the saved .docx file. Just a link to the document is added, not the document itself.
Verified by 2 additional users.
Change History (2)
#2
@
8 years ago
- Milestone Awaiting Review deleted
- Resolution set to worksforme
- Status changed from new to closed
Adding a link to the .docx file is the expected behavior. By default WordPress does not "import" MS Word documents, or any other files. If you want to create a post with the same content, you can open the document, copy it and paste it in the editor.
As Sergey pointed out above, if you want to link to the attachment page instead, you can select that from the drop-down on the right in the media modal.
Note: See
TracTickets for help on using
tickets.
Hi @kmessinger, welcome to Trac!
That's the case for other file types as well, e.g.
.txt
,.pdf
,.zip
, anything excerpt images, music, or video. How would the document itself be added?If you mean the link should go to the attachment page and not to the file, what option is selected in the "Link To" dropdown in "Attachment Display Settings" section when inserting the file into the post?