Opened 8 years ago
Last modified 8 years ago
#16710 confirmed Bug
Font-familly gets pasted pasted from MS Word with "
Reported by: | Jakub Ś | Owned by: | |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | General | Version: | 4.6.0 |
Keywords: | Cc: |
Description
Steps to reproduce
- Open attached Word file
- Copy contents and paste it into CKEditor 4.6 and 4.5.11.
NOTE: 4.5.11 requires:pasteFromWordRemoveFontStyles : false, pasteFromWordRemoveStyles : false
Expected result
This is the result from 4.5.11
<p><span style="font-family:Arial,sans-serif"><span style="font-size:8.0pt">TEST</span></span></p>
Actual result
This is the result in 4.6.0. Notice extra "
around font name.
<p><span style="font-size:8.0pt"><span style="font-family:"Arial","sans-serif"">TEST</span></span></p>
Other details (browser, OS, CKEditor version, installed plugins)
Problem can be reproduced from CKEditor 4.6.0 in all browsers.
Attachments (1)
Change History (3)
Changed 8 years ago by
comment:1 Changed 8 years ago by
Status: | new → confirmed |
---|
These are the results taken from browsers:
As you can see all browsers add extra quotation around font-names so I'm really not sure which is better - leaving it or filtering it like previous versions were doing.
It makes sense for leaving them for fonts like "Times New Roman" or even all fonts if it is working but we also need some standard way to display these fonts in dropdowns. Font from dropdown should match font in editor. I'm afraid that these extra " or " will break that.