Opened 11 years ago
Closed 11 years ago
#13082 closed Bug (duplicate)
Font color will not be inherited if the text is typed in between two lines of text
| Reported by: | giorgio | Owned by: | |
|---|---|---|---|
| Priority: | Normal | Milestone: | |
| Component: | General | Version: | |
| Keywords: | IBM | Cc: | satya_minnekanti@… |
Description
- Open the nightly version of ckeditor
- Navigate to "Text Color" and select "Red"
- Enter text into the editor
- Hit Enter and then type some more text on the next line
- Hit Enter, then hit enter again (so there is a empty line)
- Type in some text
- Click on (or arrow up to) the empty line above the text you just entered and enter some text
Bug: the text on line 1, 2, and 4 are red as expected, but the text on line 3 is black.
The html reveals that when the empty line is clicked and text is entered it is placed outside the span with the font styles (see text in bold below).
<p>
<span style="color:#FF0000;">red text</span> <br>
</p> <p>
<span style="color:#FF0000;">red text</span> <br type="_moz">
</p> <p>
<span style="color:#FF0000;"></span>red <br type="_moz">
</p> <p>
<span style="color:#FF0000;">red text</span> <br type="_moz">
</p>
Attachments (1)
Change History (3)
Changed 11 years ago by
| Attachment: | tmp4464221538141749502_cke_textcolor.jpg added |
|---|
comment:1 Changed 11 years ago by
| Cc: | satya_minnekanti@… added |
|---|---|
| Keywords: | IBM added |
comment:2 Changed 11 years ago by
| Resolution: | → duplicate |
|---|---|
| Status: | new → closed |
| Version: | 4.4.6 |

DUP of #12634.