Opened 5 years ago

Closed 5 years ago

#12801 closed Bug (invalid)

Copy& Paste the data from excel sheet is not working(colors,table format..) and from word document is working fine.

Reported by: ravi para Owned by:
Priority: Normal Milestone:
Component: Plugin : Paste from Word Version: 3.6.3
Keywords: Cc:

Description

Hi Team,

We are facing below issue in firefox 31 version.

while doing the copy & paste the table content& colors from excel document, it is not taking into ck-editor. i have lost the all format of excel.

How can we fix this issue.

CKEDITOR version : 3.6.3

Regards, Ravi Para

Change History (1)

comment:1 Changed 5 years ago by Jakub Ś

Keywords: excel doesn't respect the formatting when pasting the data in editor. removed
Resolution: invalid
Status: newclosed

This isn't doable. In browsers like Firefox or Chrome, Opera there is no information about colours passed so there is no way to get it in JavaScript.

Only IE seems to support it but you need to set

pasteFromWordRemoveFontStyles : false,
pasteFromWordRemoveStyles : false

Configuring ACF - http://docs.ckeditor.com/#!/api/CKEDITOR.config-cfg-allowedContent can also help.

The fact is that the only let's say "real workaround" is first pasting such table into Word and then Excel. This is the only working method I know. In all other cases browsers don't receive any information about formatting (except for IE but you need to have config properties, I have mentioned, set).

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