Make WordPress Core

Opened 8 months ago

Last modified 8 months ago

#41476 new enhancement

Pasting from Word saved in OneDrive doesn't create proper footnote links

Reported by: repwolfe Owned by:
Milestone: Awaiting Review Priority: normal
Severity: normal Version: 4.8
Component: Editor Keywords: close
Focuses: Cc:


I'm using WordPress 4.8 and Microsoft Word 2016. I made a document with footnotes, and I'm saving it to my OneDrive account for automatic syncing to the cloud.

When I copy and paste the document into Wordpress, the footnote links don't simply link to "#_ftn1", but rather it links to the file on OneDrive (incorrectly) such as:

<a href="https://d.docs.live.net/accountHash/file.docx#_ftn1" name="_ftnref1">[1]</a>

Using a file not saved to OneDrive doesn't exhibit this problem.

Change History (3)

#1 @arvindsinghu
8 months ago

  • Type changed from defect (bug) to enhancement

hey ,

i think it's not a bug in WordPress core :)

thank you

#2 @repwolfe
8 months ago

If it's not in WordPress core where does it belong?

Regardless I don't see how this is an enhancement and not a bug. Pasting footnotes from word works most of the time, just in my reported edge case it fails.

#3 @afercia
8 months ago

  • Component changed from Formatting to Editor
  • Keywords close added

Thanks @repwolfe and welcome to Trac. I don't use OneDrive so I'm just guessing the https://d.docs.live.net/accountHash/file.docx part is something added to the document by OneDrive. I'm not sure why you'd expect the Editor to strip out that part of the link. It's a perfectly valid link and the Editor can't make assumptions on which links should be preserved and which removed.

Note: See TracTickets for help on using tickets.