Opened 18 years ago
Closed 14 years ago
#2179 closed Bug (worksforme)
Identical adjacent styles are not merged
| Reported by: | Hervé BLONDEAU | Owned by: | |
|---|---|---|---|
| Priority: | Normal | Milestone: | |
| Component: | Core : Styles | Version: | FCKeditor 2.5 |
| Keywords: | 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
- Using any of the aforementioned browsers/OS, go to the demo page at http://www.fckeditor.net/demo
- Apply an inline style such as "Marker: Yellow" to "This is so" at the beginning of the line
- 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 (2)
comment:1 Changed 18 years ago by
| Keywords: | Confirmed added |
|---|
comment:2 Changed 14 years ago by
| Resolution: | → worksforme |
|---|---|
| Status: | confirmed → closed |
FCKeditor was retired and is no longer supported. All active development was moved to its successor, CKEditor 3.x, that is a fully mature and far superior product. We recommend you upgrade as soon as possible since this issue is no longer a problem in current code base.

Confirmed using FCKeditor 2.6 and the current SVN in:
IE doesn't seem to be affected.