Ticket #2288 (closed Bug: invalid)
Nested formatting goes wrong
| Reported by: | dommisse | Owned by: | |
|---|---|---|---|
| Priority: | Normal | Milestone: | |
| Component: | Core : Styles | Version: | |
| Keywords: | Pending WorksForMe | Cc: |
Description
If a user wants to do more than one format on the same substring the formatting will at least partial show in the editor, but after submitting the formatting does not show up on the result. The code produced looks like: <span style="font-family: Comic Sans MS;"><span style="color: rgb(255, 0, 255);"><span style="font-size: 5px;">some text</span></span></span> It seems that the styles from the cascading spans are not inherited in the browser. If the code is simplified to: <span style="font-family: Comic Sans MS; color: rgb(255, 0, 255); font-size: 5px;">some text</span> the formatting will be show up as expected. I have seen this in IE, Firefox, Opera and Safari so I really think yhis is a FCKeditor thing.
Tested with version 2.6.1
Kees