Opened 5 years ago

Closed 5 years ago

#12505 closed Bug (invalid)

CKEditor copy from word/Excel from other source and paste on editor format not preserving

Reported by: sharan Owned by:
Priority: Normal Milestone:
Component: General Version: 4.4.5
Keywords: Cc: shiva@…, sakshi.kachare@…, balaji.k@…, sharanagouda.patil@…

Description (last modified by Jakub Ś)

While copying from source for example word(Might be any source) with Time new Roman 12 to CKEditor same format is not maintaining

Change History (3)

comment:1 Changed 5 years ago by Jakub Ś

Description: modified (diff)
Status: newpending

Have you set both below options to false:
http://docs.ckeditor.com/#!/api/CKEDITOR.config-cfg-pasteFromWordRemoveFontStyles
http://docs.ckeditor.com/#!/api/CKEDITOR.config-cfg-pasteFromWordRemoveStyles

Perhaps there are some rules missing for ACF? You could disable it for tests to find out if this is the reason of your problems and then configure it properly. Please see: http://docs.ckeditor.com/#!/guide/dev_advanced_content_filter

NOTES:

  • Please remember that result will never be 1:1. We have desktop application with HTML like language and application working inside browser where there is pure HTML. CKEditor makes it best to translate the information send from Word through the clipboard and many times it needs to come to an agreement. In those cases we prioritize semantics instead of formatting.
  • Please upgrade to latest editor 4.4.5 as version 3.6.4 is no longer supported.

comment:2 Changed 5 years ago by sharan

Version: 3.6.44.4.5

We have tried with 4.4.5 .

Copying from word

Format is preserving but font color and background font is not compatible style with html.(Destination format is preserving for font face and font size)

Please let us know is there any way of work around for this.

comment:3 Changed 5 years ago by Jakub Ś

Resolution: invalid
Status: pendingclosed

Please try ACF and these two configuration options I have given you.

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