Opened 5 years ago

Closed 5 years ago

#11985 closed Bug (wontfix)

PasteFromWord text in CKeditor changed unexpectedly to original WORD content

Reported by: sayyed Owned by:
Priority: Normal Milestone:
Component: Plugin : Paste from Word Version: 4.2.1
Keywords: Cc:

Description

1) Enable paste from word font setting by using below two args. config.pasteFromWordRemoveFontStyles = false; config.pasteFromWordRemoveStyles = false;

2) Using attached sample1.doc, Select&Copy the entire content. 3) Then, click the "PasteFromWord" button CKeditor and paste the content selected in step 1. 4) You will surprisingly see that the VERY first line of content: "1. ABOUT THIS DOCUMENT" unexpectedly changed to "1. About this document" ie, the words changed from all capitalized to mostly small letter!

Attachments (1)

sample1.doc (30.5 KB) - added by sayyed 5 years ago.
Sample word file which is used for Paste from Word .

Download all attachments as: .zip

Change History (3)

Changed 5 years ago by sayyed

Attachment: sample1.doc added

Sample word file which is used for Paste from Word .

comment:1 Changed 5 years ago by Jakub Ś

Normally we suspect that ACF might have something to do with it. It may happen that some style that isn't set in ACF is transferred from MS Word. We then suggest adding such styles/attributes/tags to extraAllowedContent option. If user has many, many not reported to ACF styles/attributes/tags then we suggest turning ACF off.

It is not the case here. I have checked all browsers and even IE has no information about upper case style.

Browsers don't see this style and if browsers don't see it, neither will CKEditor. There is nothing we can do here.

comment:2 Changed 5 years ago by Jakub Ś

Resolution: wontfix
Status: newclosed
Note: See TracTickets for help on using tickets.
© 2003 – 2019 CKSource – Frederico Knabben. All rights reserved. | Terms of use | Privacy policy