Opened 12 years ago
Closed 12 years ago
#11529 closed Bug (duplicate)
OpenOffice paste table loses background color
| Reported by: | Chema | Owned by: | |
|---|---|---|---|
| Priority: | Normal | Milestone: | |
| Component: | Plugin : Paste from Word | Version: | 4.0 |
| Keywords: | Cc: |
Description
Copy/Pasting a table from OpenOffice using the Paste from Word plugin loses the table background color.
Steps to reproduce:
- Open the attached document with OpenOffice (tested on MacOS X, OpenOffice 4.0.0).
- Copy the table
- Paste the table on CKEditor using the
Paste from Wordplugin on an editor configured withpasteFromWordRemoveFontStylesandpasteFromWordRemoveStylesset to false.
Expected:
The table to be pasted maintaining the font styles and table format.
Result:
The font styles are preserved, but the table cells have no background color.
The copied data from OO differs from the one from Word in that it uses inline bgcolor instead of styling via background such as:
<td bgcolor="#ff00ff">
Could this be added to the allowedContent by default, or should it be added on a per-case basis using the extraAllowedContent property?
Attachments (1)
Change History (3)
Changed 12 years ago by
| Attachment: | Table_OO.docx added |
|---|
comment:1 Changed 12 years ago by
| Status: | new → confirmed |
|---|---|
| Version: | → 4.0 |
comment:2 Changed 12 years ago by
| Resolution: | → duplicate |
|---|---|
| Status: | confirmed → closed |
Hey @j.swiderski, thanks for checking that out. I agree this should be part of #8761. I tried a search but didn't find it. Sorry about that.
Closing as duplicated.
Thanks!

Perhaps this can be treated as part of #8761.
Both of these are not checked in paste from word filter thus background colour is always ignored.