Opened 8 years ago
Closed 8 years ago
#16871 closed Bug (invalid)
paste from MS Word some text with background color
Reported by: | anbuece | Owned by: | |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | General | Version: | |
Keywords: | Cc: |
Description
Steps to reproduce
- config.pasteFromWordRemoveFontStyles = true;
- paste from MS Word some text with background color
Expected result
<p>some text</p>
Actual result
<p><b><span style="background:white">Come text</span></b></p>
Other details (browser, OS, CKEditor version, installed plugins)
Browser: Chrome
OS: Mac
CKEditor version: 4.6.1
Change History (2)
comment:2 Changed 8 years ago by
Resolution: | → invalid |
---|---|
Status: | new → closed |
Version: | 4.7.0 (GitHub - major) |
First of all you have reported 3 tickets concerning the same issue. Please keep the discussion in one ticket for the future.
Please read the documentation - http://docs.ckeditor.com/#!/api/CKEDITOR.config-cfg-pasteFromWordRemoveFontStyles. In CKEditor 4.6.0, new PFW filter has been introduced. From that version the filtering in that filter depends on ACF settings. If for some reason you don't want to use ACF, you can use afterPasteFromWord
event like you did.
the above one solves the issue, but wanted to know why config.pasteFromWordRemoveFontStyles = true; not solving this issue. Also Is this a right approach to solve the issue.