Opened 12 years ago

Closed 12 years ago

Last modified 10 years ago

#8572 closed Bug (expired)

Text pasted from MS Word stretches the margins uncontrolably.

Reported by: camcode Owned by:
Priority: Normal Milestone:
Component: Plugin : Paste from Word Version: 3.3
Keywords: Cc:

Description

We use IE 8, ColdFusion 9 for code files, and included the whole CKEditor 3.3 folder in the application. Everything has been working fine. Today, one of our users experienced a weird effect of CKEditor. She prepared her notes in MSWord and copied it into the narration area. When she clicked "Add Narration", the displayed narration (in the narration table) stretches to the end of each sentence. I could not reproduce the problem. I noticed that the ckeditor.js and the plugin.js files contain an 'Apple-style-span' code, but this has never changed the margins before. Also, our office does not support Apple.

Here are the code tags in View Source:

<p align="left" style="margin-left:-.25in;">

<span class="Apple-style-span" style="white-space: nowrap;">

[text...]

</span></p>

Change History (5)

comment:1 Changed 12 years ago by Jakub Ś

Keywords: Margins stretch removed
Status: newpending

First of all could you ask your client for those notes (doc file) that caused this error. Without those samples, helping to reproduce the problem, it will be impossible to help you.

Once you get those notes I would like to ask you for two things.

  1. Please try to reproduce this issue with our demo version (http://ckeditor.com/demo)as this may not necessarily be the problem with CKEditor but maybe with your application settings.
  2. CKEditor 3.3 is rather old. Could I ask you to upgrade to the latest stable version 3.6.2 and see if the error occurs there.

comment:2 Changed 12 years ago by camcode

Thanks for your quick response.

I upgraded CKEditor to version 3.6.2 and tested the user's notes again, using her method, i.e., copy and paste text from MS Word. This time the '<span class="Apple-style-span" style="white-space: nowrap;">' tags no longer appeared, but the '<p style="margin-left:-.25in;">' tags did. I am not sure why but I will ask the user to try again.

I am sorry I cannot provide the user's notes because they are confidential. However, I looked at the notes thoroughly and found that the only thing that seemed out of place was the class and style tags that I've included here.

comment:3 Changed 12 years ago by Jakub Ś

You can always replace text inside notes with some dummy text.
We are not really interested in what client is writing about. All we want is a test case file helping us to reproduce and understand the cause of the problem.

comment:4 Changed 12 years ago by Jakub Ś

Resolution: expired
Status: pendingclosed

comment:5 Changed 10 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