#10364 closed Bug (duplicate)
Paste from word doesn't do background color
Reported by: | Val | Owned by: | |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | Plugin : Paste from Word | Version: | 4.1 |
Keywords: | Cc: |
Description
Pasting content with a highlight/background color from word. The background color doesn't get copied over.
In default.js I found this line that's responsible for background color:
[ /background-color$/, null, !o ? m(d.colorButton_backStyle, "color") : null]
But when looking at what's being pasted, the highlight is actually specified as "background: somecolor".
By adding the following to the code I seem to have fixed the issue:
[ /background$/, null, !o ? m(d.colorButton_backStyle, "color") : null],
Change History (2)
comment:1 Changed 12 years ago by
Resolution: | → duplicate |
---|---|
Status: | new → closed |
comment:2 Changed 11 years ago by
Component: | Core : Pasting → Plugin : Paste from Word |
---|---|
Keywords: | Word background color removed |
Already mentioned case in http://dev.ckeditor.com/ticket/9991#comment:8
That ticket groups all these requirements for new paste from word filter, so I'm closing this one.