Opened 13 years ago

Closed 7 years ago

Last modified 7 years ago

#6457 closed Bug (fixed)

Word pasting is extremely slow in IE7 and IE8

Reported by: Tomas Owned by:
Priority: Normal Milestone: CKEditor 4.6.0
Component: Plugin : Paste from Word Version: 3.4.1
Keywords: IE Cc:


I've noticed that our typical word document used in our for pasting into the CK editor runs extremely sow in IE7 and IE8. This is true if you compare 3.4.1. between FF 3.5 and IE. Its also true if you compare IE behavior between 3.0.1 and 3.4 in IE. Its a factor 10 or more. Application become unresponsive. I have attached a document that can be used to paste into the editor to see the behavior.

Attachments (1)

big_word_doc_with_tables.doc (1.1 MB) - added by Tomas 13 years ago.
A file that takes minutes to paste into editor in IE

Download all attachments as: .zip

Change History (11)

Changed 13 years ago by Tomas

A file that takes minutes to paste into editor in IE

comment:1 Changed 13 years ago by Garry Yao

Resolution: wontfix
Status: newclosed

We understand that the filter that we introduced in 3.1 has indeed performance impacts, I'm not saying you should not have such big document, but even you try this with a bare bone browser paste your provided document are far more than seconds.

So we recommend you to provide your own CKEDITOR.cleanWord replacement if you frequently have this kind of monster paste.

CKEDITOR.cleanWord = function( data, editor )
   // Your custom content processing.
   return data;

comment:2 Changed 13 years ago by Tomas

I understand what you are saying. Such an performance decrease (from 3.0.1) should however in my opinion be addressed. In IE7 it takes 100 seconds in FF it takes 12 seconds.

comment:3 Changed 13 years ago by Garry Yao

Keywords: IE added
Milestone: CKEditor 3.6
Resolution: wontfix
Status: closedreopened

Leave this open to gain attention on performance tunning.

comment:4 Changed 13 years ago by Krzysztof Studnik

Status: reopenedconfirmed

Changing to "confirmed", due it is a known issue

comment:5 Changed 13 years ago by Frederico Caldeira Knabben

Milestone: CKEditor 3.6

We need a patch here before targeting it.

comment:6 Changed 12 years ago by Tom Robinson

This is not a problem with CKEditor, it is strictly an IE problem. I created this tiny test page:

 <div contenteditable=true>paste here</div>

Pasting your test document from Word into IE9 took over 15 minutes, at which point I gave up. However, if I first pasted/copied through Chrome (3 seconds), then the paste in IE took 1 second. Pasting from Chrome into IE9 CKEditor was also very quick. I'm running Windows 7 64-bit.

comment:7 Changed 10 years ago by Jakub Ś

I can confirm what @Tom Robinson has said. This is happening in IE8-10.
I have tried simple textarea or editable div and in both cases this word file has taken ages to get processed.

Since native IE doesn't handle this, neither will editor which works inside native IE.
In editor such paste took about 1-2 min. I was kind of surprised with this fact because it was much faster than in native textarea and a little bit faster than in native editable div.

Last edited 10 years ago by Jakub Ś (previous) (diff)

comment:8 Changed 10 years ago by Frederico Caldeira Knabben

Component: Core : PastingPlugin : Paste from Word

comment:9 Changed 7 years ago by Tade0

Resolution: fixed
Status: confirmedclosed

Managed to paste it in 2016 in IE8 with PFW processing. What a time to be alive.

comment:10 Changed 7 years ago by Anna Tomanek

Milestone: CKEditor 4.6.0
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