Opened 3 years ago

Closed 3 years ago

#14396 closed Bug (expired)

Copy and paste from Word into CKEditor 4.5.5 incomplete on Mac / Firefox

Reported by: Alvin Bakker Owned by:
Priority: Normal Milestone:
Component: General Version: 4.5.5
Keywords: Cc:

Description

Steps to reproduce

Copy and paste from MS Word to CKEditor works fine in all browsers on the PC. But in Firefox on a Mac, headings in bullets disappear and some other style issues are also ripped.

My config is like this:

CKEDITOR.editorConfig = function( config ) {

config.format_tags = 'h1;h2;h3;h4'; config.toolbarGroups = [

{ name: 'clipboard', groups: [ 'clipboard', 'undo' ] }, { name: 'basicstyles', groups: [ 'basicstyles', 'cleanup' ] }, { name: 'styles', groups : [ 'format', 'insert' ] }, { name: 'paragraph', groups: [ 'list', 'indent', 'blocks', 'align'] }, { name: 'links', groups: [ 'link' ] }, { name: 'about' }, { name: 'document', groups: [ 'mode' ] }

]; config.removeButtons = 'Undo,Redo,Image,Flash,Smiley,PageBreak,Iframe,SpecialChar,HorizontalRule,Cut,Copy,Anchor,Strike,Subscript,Superscript,Save,Newpage,Preview,Print,Templates,About,Help,Document,Language,Blockquote,Indent,Outdent,CreateDiv,NewPage,Styles,Font,FontSize'; config.removeDialogTabs = 'link:advanced'; config.extraPlugins = 'autogrow'; config.autoGrow_minHeight = 250; config.autoGrow_maxHeight = 600;

};

Expected result

Actual result

Other details (browser, OS, CKEditor version, installed plugins)

Change History (2)

comment:1 Changed 3 years ago by Jakub Ś

Status: newpending

I have tried pasting headers in lists (plus other styles) from Word for Mac 2013 in latest CKEditor 4.5.9 full package (with your config) in Firefox 47.0.1 and haven't experienced any problems.

Headers weren't removed and as for other styles you need to use http://docs.ckeditor.com/#!/api/CKEDITOR.config-cfg-pasteFromWordRemoveFontStyles and http://docs.ckeditor.com/#!/api/CKEDITOR.config-cfg-pasteFromWordRemoveStyles. Both should be set to false.

@nettics was this your source of the problem or I have missed something in my reproduction steps?

comment:2 Changed 3 years ago by Jakub Ś

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