Inline styles from clipboard data transfer when pasting from Word
|Reported by:||m.lewandowski||Owned by:||t.jakut|
|Component:||Plugin : Paste from Word||Version:||4.7.0 (GitHub - major)|
Description (last modified by m.lewandowski)
While serializing to HTML, Word inlines styles to some elements, while leaving classes in others.
A style element that contains all the styles for a given selector is put in html > head element of text/html clipboard which is currently not pasted into CKEditor.
What we need to do here is to make sure that we check text/html dataTransfer to check for these style elements, and inline them into matched elements.
One thing to keep in mind that we don't want to inline mso- specific styles. At the end it's fine for us to inline even unknown css, as it will get stripped by ACF after processing.
Change History (9)
comment:2 Changed 3 months ago by t.jakut
- Owner set to t.jakut
- Status changed from confirmed to assigned
comment:7 Changed 8 weeks ago by m.lewandowski
- Resolution set to fixed
- Status changed from review_failed to closed