Ticket #8523 (closed Bug: fixed)
Changing colors not working with XHTML compliant code
| Reported by: | skifidelity | Owned by: | |
|---|---|---|---|
| Priority: | Normal | Milestone: | CKEditor 3.6.3 |
| Component: | General | Version: | 3.2.1 |
| Keywords: | Cc: |
Description
It is not possible to change the color twice, when using CKEditor in XHTML compliant mode. The bug can easily be reproduced on the demo site: http://nightly.ckeditor.com/7310/_samples/output_xhtml.html
Mark a word. Choose the blue color, which will work. Choosing a second color without unmarking the word will fail. This also makes it impossible to remove a chosen color.
Change History
comment:2 Changed 18 months ago by j.swiderski
- Status changed from new to confirmed
- Keywords XHTML removed
- Version set to 3.2.1
It is not possible to change the color twice
- This is true for Text color. Once the color is set it cannot be changed. Looks like new span tags wrap old ones.
- This is not true for text background color as every time you choose color new span tag with class wraps selected text and not old tags.
This also makes it impossible to remove a chosen color
- This is true for text and text background color. Choosing twice the same color results in:
- span around text for font color <span class="FontColor1">some</span>
- two spans around text for text background color <span class="FontColor1BG"><span class="FontColor1BG">some</span></span>
(Switching to Source and back and then applying colors can help to reproduce the issue)
- It is also not possible to remove/change colors using "Automatic color"
Note: See
TracTickets for help on using
tickets.
