Make WordPress Core

Opened 6 years ago

Closed 3 years ago

#41476 closed enhancement (wontfix)

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

Reported by: repwolfe's profile repwolfe Owned by:
Milestone: Priority: normal
Severity: normal Version: 4.8
Component: Editor Keywords: close
Focuses: Cc:

Description (last modified by noisysocks)

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 (4)

#1 @arvindsinghu
6 years ago

  • Type changed from defect (bug) to enhancement

hey ,

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

thank you

#2 @repwolfe
6 years 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
6 years 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.

#4 @noisysocks
3 years ago

  • Description modified (diff)
  • Milestone Awaiting Review deleted
  • Resolution set to wontfix
  • Status changed from new to closed
Note: See TracTickets for help on using tickets.