Ticket #6595 (closed Bug: fixed)

Opened 4 years ago

Last modified 9 months ago

[IE9] Paste from Word floods line-breaks

Reported by: garry.yao Owned by:
Priority: High 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

6595.doc (36.0 KB) - added by garry.yao 4 years ago.
6595.patch (704 bytes) - added by paho 4 years ago.
Patch

Change History

Changed 4 years ago by garry.yao

comment:1 Changed 4 years ago by garry.yao

  • Status changed from new to confirmed

Note that the bug is content independent.

comment:2 Changed 4 years ago by paho

  • Status changed from confirmed to assigned
  • Owner set to paho

comment:3 Changed 4 years ago by paho

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 4 years ago by paho

Patch

comment:4 Changed 4 years ago by paho

  • Status changed from assigned to review

comment:5 Changed 4 years ago by garry.yao

  • Status changed from review to review_failed
  • Milestone CKEditor 3.4.3 deleted

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 4 years ago by paho

  • Owner paho deleted
  • Status changed from review_failed to new

comment:7 Changed 4 years ago by garry.yao

  • Priority changed from Normal to High

comment:8 Changed 4 years ago by garry.yao

  • Keywords IE9 added; IE removed

Affects still RC.

comment:9 Changed 4 years ago by krst

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 4 years ago by garry.yao

  • Status changed from new to closed
  • Resolution set to fixed

Confirmed it's now fixed in IE9 final.

comment:11 Changed 9 months ago by fredck

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