#7269 closed Bug (fixed)
paste from word - footnote links link to document path in webkit based browsers
| Reported by: | Tomas | Owned by: | Frederico Caldeira Knabben |
|---|---|---|---|
| Priority: | Normal | Milestone: | CKEditor 3.6.1 |
| Component: | Plugin : Paste from Word | Version: | 3.0 |
| Keywords: | WebKit HasPatch | Cc: |
Description
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)
Change History (9)
Changed 15 years ago by
| Attachment: | Test with footnote.docx added |
|---|
Changed 15 years ago by
| Attachment: | fix_webkit_anchor_links_in_footnotes.patch added |
|---|
patch for _source\plugins\pastefromword\filter\default.js
comment:1 Changed 15 years ago by
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 15 years ago by
| Component: | General → Core : Pasting |
|---|---|
| Keywords: | Webkit Haspatch added |
| Status: | new → confirmed |
| Version: | 3.5.2 → 3.0 |
Behaviour under webkit browsers confirmed since CKE v3.0
Changed 15 years ago by
| Attachment: | 7269.patch added |
|---|
comment:3 Changed 15 years ago by
| Keywords: | WebKit HasPatch added; Webkit Haspatch removed |
|---|---|
| Owner: | set to Frederico Caldeira Knabben |
| Status: | confirmed → 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 14 years ago by
| Status: | review → review_passed |
|---|
comment:5 Changed 14 years ago by
| Milestone: | → CKEditor 3.6.1 |
|---|---|
| Resolution: | → fixed |
| Status: | review_passed → closed |
Fixed with [6974].
comment:6 Changed 12 years ago by
| Component: | Core : Pasting → Plugin : Paste from Word |
|---|

test docx