Opened 9 years ago
Closed 9 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@… |
Description
Steps to reproduce
- config.pasteFromWordRemoveFontStyles = true;
- 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 9 years ago by
| Keywords: | pasteFromWord removed |
|---|---|
| Resolution: | → invalid |
| Status: | new → closed |

Please see: http://docs.ckeditor.com/#!/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 http://docs.ckeditor.com/#!/api/CKEDITOR.editor-event-afterPasteFromWord