tabletools should also retain color from background containing more than color
|Reported by:||m.lewandowski||Owned by:|
|Priority:||Nice to have (we want to work on it)||Milestone:||CKEditor 4.7.0|
Description (last modified by m.lewandowski)
Currently if td's background background property contains something more than just a color, it won't be recognized. We could improve it.
- Open CKEditor with tabletools plugin.
- Set the editor content using "Source" button to the following:
<table border="1" cellpadding="1" cellspacing="1" style="width:500px"> <tbody> <tr> <td style="background:#00cc99 no-repeat center"> </td> <td> </td> </tr> </tbody> </table>
- Go back to wysiwyg mode.
First cell has a backgournd applied.
Color is stripped out by ACF.
## Additional Notes
Recently we have added a more advanced function for parsing CSS background - CKEDITOR.tools.style.parse.background. We could use it to more reliably tell if property contains a color.
Rationale: It was needed during PR#337, where Firefox would put much more values into CSS prop ta