Opened 8 years ago
Last modified 8 years ago
#16624 closed Bug
[PFW] Convert span background to background-color if possible — at Version 5
Reported by: | Marek Lewandowski | Owned by: | |
---|---|---|---|
Priority: | Normal | Milestone: | CKEditor 4.6.1 |
Component: | Plugin : Paste from Word | Version: | 4.6.0 |
Keywords: | Cc: |
Description (last modified by )
New PFW implementation puts font background as span with background
css property. It's not handled by any of our features (colorbutton in particular), and therefore ACF strips it in the process.
If we'd set it as span background-color
everything would work OK.
Actually it would be nice to reuse `config.colorButton_backStyle` (if possible), that way it will use a proper style, even if it was remapped to different style.
- Open PFW full manual test case.
- Open any document with font background in Word (e.g. last two lines in
ckeditor-dev/tests/plugins/pastefromword/generated/_fixtures/Fonts/Fonts.docx
). - Select some text with background in Word.
- Copy it.
- Paste into the manual test editor.
Expected: Pasted rich text preserves text background.
Actual: Background gets removed.
Reproduced on Chrome @ Win10.
Change History (5)
comment:1 Changed 8 years ago by
Description: | modified (diff) |
---|
comment:2 Changed 8 years ago by
Description: | modified (diff) |
---|
comment:3 Changed 8 years ago by
Description: | modified (diff) |
---|
comment:4 Changed 8 years ago by
Description: | modified (diff) |
---|
comment:5 Changed 8 years ago by
Description: | modified (diff) |
---|
I can confirm it also happens on FF.