Opened 16 years ago

Closed 7 years ago

Last modified 7 years ago

#2507 closed Bug (fixed)

PasteFromWord doesn't detect pasting part of paragraph

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

Description

IE7, WinXP, FCKEditor 2.6.3

When copying text from MS Word to paste into FCKe, the AutoDetect function won't detect it if it's only text from part of a paragraph (i.e. no line breaks). If I copy the entire paragraph and ctrl+V, the AutoDetect activates.

Attachments (1)

fcktest.doc (24.5 KB) - added by Christian 16 years ago.

Download all attachments as: .zip

Change History (7)

Changed 16 years ago by Christian

Attachment: fcktest.doc added

comment:1 Changed 15 years ago by Artur Formella

Keywords: Pending added

I think there is no point in detecting it as a text from Word. The text formatting is not changed.

comment:2 Changed 15 years ago by Frederico Caldeira Knabben

Keywords: Confirmed added; Pending removed

The content should be cleaned anyway... the following is what I'm having when posting just a few words:

<p><span lang="EN-GB" style="font-size: 12pt; font-family: &quot;Times New
Roman&quot;; mso-fareast-font-family: 'Times New Roman'; mso-ansi-language: EN-GB;
mso-fareast-language: SV; mso-bidi-language: AR-SA">declared a Tiger </span></p>

All that "mso-" stuff should be cut out.

The fact is that word is not sending enough information for us to detect the content source. I mean, enough for the current detection implementation, as the "mso-" styles could also help us detecting it.

comment:3 in reply to:  2 Changed 15 years ago by Christian

Replying to fredck:

The content should be cleaned anyway... the following is what I'm having when posting just a few words:

<p><span lang="EN-GB" style="font-size: 12pt; font-family: &quot;Times New
Roman&quot;; mso-fareast-font-family: 'Times New Roman'; mso-ansi-language: EN-GB;
mso-fareast-language: SV; mso-bidi-language: AR-SA">declared a Tiger </span></p>

All that "mso-" stuff should be cut out.

The fact is that word is not sending enough information for us to detect the content source. I mean, enough for the current detection implementation, as the "mso-" styles could also help us detecting it.

I think this was my original idea as well. These "tags" could mess up further processing along the line. If you are able to include them in the detection, it would be great.

comment:4 Changed 10 years ago by Frederico Caldeira Knabben

Component: GeneralPlugin : Paste from Word

comment:5 Changed 7 years ago by Tade0

Resolution: fixed
Status: confirmedclosed

Fixed with new Paste From Word plugin in 4.6.0.

comment:6 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