Opened 7 years ago

Closed 7 years ago

#16774 closed Bug (invalid)

pasteFromWordRemoveFontStyles = true - font-family still geting pasted

Reported by: julian_ivancsuk Owned by:
Priority: Normal Milestone:
Component: General Version: 4.6.1
Keywords: Cc: julian.ivancsuk@…


Steps to reproduce

  1. config.pasteFromWordRemoveFontStyles = true;
  2. paste from MS Word some text with 'Times New Roman'-Font

Expected result

<p>some text</p>

Actual result

<p style="margin-left:0cm; margin-right:0cm"><span style="color:#000000"><span style="font-family:Times New Roman">Some text</span></span></p>

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

Browser: IE (Version 11)

OS: Win

CKEditor version: 4.6.1

Change History (1)

comment:1 Changed 7 years ago by Jakub Ś

Keywords: pasteFromWord removed
Resolution: invalid
Status: newclosed

Please see:!/api/CKEDITOR.config-cfg-pasteFromWordRemoveFontStyles.

You need to configure ACF if you don't want to font family. Another option is removing styles you don't want to see in!/api/CKEDITOR.editor-event-afterPasteFromWord

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