Opened 13 years ago

Closed 13 years ago

Last modified 10 years ago

#7729 closed Bug (invalid)

Copy of style and setup failed when paste tab from anywhere (excel or word...)

Reported by: bildstein Owned by:
Priority: Normal Milestone:
Component: Plugin : Paste from Word Version: 3.3.2
Keywords: Cc:

Description

Descriptive summary : The paste from Word or excel doesn't keep the setup and style for tabs and text as the fckeditor 2.6.6 does. Steps to reproduce : 1) create a tab on excel or word with text style (bold, size 18, red color and green backgroud)and set blue bold border around tab 2) copy the tab 3) past it using pasting from word or not (it is the same)

Expecting result: Tab is pasted with the style: bold, size 18, red color and green backgroud and set bold blue border around tab

Observed result: Tab is pasted with bold style but without the style: size 18, red color and green backgroud and without any border and border color

Browser name and OS : windows XP service pack 3, IE 7 or firefox

Attachments (2)

expecting past tab.jpg (52.0 KB) - added by bildstein 13 years ago.
observed past tab.jpg (54.0 KB) - added by bildstein 13 years ago.

Download all attachments as: .zip

Change History (5)

Changed 13 years ago by bildstein

Attachment: expecting past tab.jpg added

Changed 13 years ago by bildstein

Attachment: observed past tab.jpg added

comment:1 Changed 13 years ago by bildstein

Component: GeneralCore : Pasting

comment:2 Changed 13 years ago by Jakub Ś

Keywords: past tab removed
Resolution: invalid
Status: newclosed

In your config.js file please set the below options to false. This should solve your problem.

config.pasteFromWordRemoveFontStyles=false;
config.pasteFromWordRemoveStyles=false;

Please refer also to http://docs.cksource.com/ckeditor_api/symbols/CKEDITOR.config.html#.pasteFromWordRemoveFontStyles As you can see from the above link the default value for these options is true

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