Opened 14 years ago

Closed 14 years ago

Last modified 11 years ago

#6595 closed Bug (fixed)

[IE9] Paste from Word floods line-breaks

Reported by: Garry Yao Owned by:
Priority: Must have (possibly next milestone) Milestone:
Component: Plugin : Paste from Word Version: 3.1
Keywords: IE9 Cc:

Description

Occurs in IE9, works well in lower versions.

  1. Copy the entire contents in the attached .doc file.
  2. Paste into an empty editor with Ctrl-V.
    • Actual Result: Lots of extra lines appeared.

Attachments (2)

6595.doc (36.0 KB) - added by Garry Yao 14 years ago.
6595.patch (704 bytes) - added by Paweł Horzela 14 years ago.
Patch

Download all attachments as: .zip

Change History (13)

Changed 14 years ago by Garry Yao

Attachment: 6595.doc added

comment:1 Changed 14 years ago by Garry Yao

Status: newconfirmed

Note that the bug is content independent.

comment:2 Changed 14 years ago by Paweł Horzela

Owner: set to Paweł Horzela
Status: confirmedassigned

comment:3 Changed 14 years ago by Paweł Horzela

During pasting from word in IE9 there are some wrong <br> tags passed in data. The <br> tags are never used during processing text pasted from word. Even if we have 'enters' in word document they are always passed as <p>. So we can simply get rid of <br> tags from data pasted from word.

Changed 14 years ago by Paweł Horzela

Attachment: 6595.patch added

Patch

comment:4 Changed 14 years ago by Paweł Horzela

Status: assignedreview

comment:5 Changed 14 years ago by Garry Yao

Milestone: CKEditor 3.4.3
Status: reviewreview_failed

Removing all <br> is problematic, as it's used to present SHIFT+ENTER key in MS Word, if there's no regular pattern of such BR could be found, we should instead wait for a IE fix, bug reported at IE.

https://connect.microsoft.com/IE/feedback/details/619925/paste-from-office-word-bug

comment:6 Changed 14 years ago by Paweł Horzela

Owner: Paweł Horzela deleted
Status: review_failednew

comment:7 Changed 14 years ago by Garry Yao

Priority: NormalHigh

comment:8 Changed 14 years ago by Garry Yao

Keywords: IE9 added; IE removed

Affects still RC.

comment:9 Changed 14 years ago by Krzysztof Studnik

In IE9 Final, pasting content from attached doc, works similar to Chrome, Firefox4 and Opera. I think Ticket could be closed as WFM

comment:10 Changed 14 years ago by Garry Yao

Resolution: fixed
Status: newclosed

Confirmed it's now fixed in IE9 final.

comment:11 Changed 11 years ago by Frederico Caldeira Knabben

Component: Core : PastingPlugin : Paste from Word
Note: See TracTickets for help on using tickets.
© 2003 – 2022, CKSource sp. z o.o. sp.k. All rights reserved. | Terms of use | Privacy policy