Opened 6 years ago

Closed 6 years ago

Last modified 3 years ago

#7269 closed Bug (fixed)

paste from word - footnote links link to document path in webkit based browsers

Reported by: toma25 Owned by: fredck
Priority: Normal Milestone: CKEditor 3.6.1
Component: Plugin : Paste from Word Version: 3.0
Keywords: WebKit HasPatch Cc:


When pasting a document with footnotes, the links to the footnotes in webkit browsers get the full path to the doc, e.g. file:///c:/folder/doc.docx#ftn_1 instead of the more correct #ftn_1 as in IE and Gecko.

Patch that fixes this is provided.

Attachments (3)

Test with footnote.docx (13.0 KB) - added by toma25 6 years ago.
test docx
fix_webkit_anchor_links_in_footnotes.patch (709 bytes) - added by toma25 6 years ago.
patch for _source\plugins\pastefromword\filter\default.js
7269.patch (636 bytes) - added by fredck 6 years ago.

Download all attachments as: .zip

Change History (9)

Changed 6 years ago by toma25

test docx

Changed 6 years ago by toma25

patch for _source\plugins\pastefromword\filter\default.js

comment:1 Changed 6 years ago by toma25

The document needs to be saved, if you create a new document without saving it, then webkit will behave like ie and gecko.

comment:2 Changed 6 years ago by krst

  • Component changed from General to Core : Pasting
  • Keywords Webkit Haspatch added
  • Status changed from new to confirmed
  • Version changed from 3.5.2 to 3.0

Behaviour under webkit browsers confirmed since CKE v3.0

Changed 6 years ago by fredck

comment:3 Changed 6 years ago by fredck

  • Keywords WebKit HasPatch added; Webkit Haspatch removed
  • Owner set to fredck
  • Status changed from confirmed to review

Other than small issues with code style, I had some troubles to apply the patch. I did it and it works pretty well. Thanks toma25!

comment:4 Changed 6 years ago by Saare

  • Status changed from review to review_passed

comment:5 Changed 6 years ago by fredck

  • Milestone set to CKEditor 3.6.1
  • Resolution set to fixed
  • Status changed from review_passed to closed

Fixed with [6974].

comment:6 Changed 3 years ago by fredck

  • Component changed from Core : Pasting to Plugin : Paste from Word
Note: See TracTickets for help on using tickets.
© 2003 – 2017 CKSource – Frederico Knabben. All rights reserved. | Terms of use | Privacy policy