Ticket #2179 (new Bug)
Identical adjacent styles are not merged
| Reported by: | Tarto | Owned by: | |
|---|---|---|---|
| Priority: | Normal | Milestone: | |
| Component: | Core : Styles | Version: | FCKeditor 2.5 |
| Keywords: | Confirmed | Cc: |
Description
ENVIRONMENT
This was tested with the following browsers:
- Windows XP: Firefox2
- MacOS X: Safari3
And with FCKeditor 2.5 and 2.6
DESCRIPTION
1. Using any of the aforementioned browsers/OS, go to the demo page at http://www.fckeditor.net/demo
2. Apply an inline style such as "Marker: Yellow" to "This is so" at the beginning of the line
3. Apply the same style to "me sample text"
The generated source is:
<span style="background-color: Yellow;">This is so</span><span style="background-color: Yellow;">me <strong>sample text</strong></span>
But it would make more sense to merge the tags and output (as it is done in IE):
<span style="background-color: Yellow;">This is some <strong>sample text</strong></span>
This is obviously in the same category as ticket #2040, however I did not know if it can be considered as a duplicate and therefore created a new ticket.
Change History
Note: See
TracTickets for help on using
tickets.