#8437 closed Bug (duplicate)
background of text run pasted from Word
Reported by: | Zee | Owned by: | |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | Plugin : Paste from Word | Version: | 3.6.2 |
Keywords: | Cc: |
Description
Situation: Pasting text from Word into CKEditor
Problem: Background property of the text is set wrong
Here is document source:
<p> <strong> <span style="background:lime;"> <span style="color:white;"> <span style="font-size:36.0pt;">WORD</span> </span> </span> </strong> <strong> <span style="font-size:36.0pt;"> <span style="background:teal;"> <span style="color:white;">ABC</span> </span> </span> </strong> </p>
CKEditor for some reason inverted hiearchy of <span> elements of the first word. In "word paste dialog" text is displayed correctly.
Attachments (4)
Change History (8)
Changed 13 years ago by
Attachment: | TextInWord.png added |
---|
comment:1 Changed 13 years ago by
Component: | General → Core : Pasting |
---|---|
Keywords: | Background Paste removed |
Status: | new → confirmed |
comment:2 Changed 13 years ago by
@Zee you think it would be possible to attach doc file you have used for this ticked?
Changed 13 years ago by
Attachment: | WORD_ABC.doc added |
---|
comment:3 Changed 13 years ago by
Resolution: | → duplicate |
---|---|
Status: | confirmed → closed |
I attaching sample file that shows result very similar to the one that user has reported.
Anyway this is a duplicate of #8181.
If CKEditor could wisely switch spans from
<span style="background:lime;"> <span style="color:white;"> <span style="font-size:36.0pt;">WORD</span> </span> </span>
to (size around background color)
<span style="font-size:36.0pt;"> <span style="background:teal;"> <span style="color:white;">ABC</span> </span>
Problem would be solved.
comment:4 Changed 11 years ago by
Component: | Core : Pasting → Plugin : Paste from Word |
---|
Text in Microsoft Word