Opened 18 years ago
Last modified 18 years ago
#1378 closed Bug
Unpredictable behaviour using Styles — at Version 2
| Reported by: | david.public | Owned by: | |
|---|---|---|---|
| Priority: | Normal | Milestone: | |
| Component: | Core : Styles | Version: | FCKeditor 2.4.3 |
| Keywords: | Pending | Cc: |
Description (last modified by )
I'm experiencing odd behaviour with Styles based on the Span tag.
You can replicate this in the demo page at http://www.fckeditor.net/demo:
- Create some paragraphs. eg create 6 paragraphs with the text ('One', 'Two', 'Three', Four', 'Five', 'Six').
- Select the 5th paragraph and apply the Custom bold style.
- Select the 2nd and 3rd paragraphs and apply the Custom bold style.
- Switch to source view and switch back to design view
- A gap will have appeared before the paragraph 'Four'.
- Switch to source view and switch back to design view again.
- More gaps will have appeared, and paragraphs will now appear in the order ('One', 'Four', 'Five', 'Two', 'Three'). Only 'Five' is now bold.
I have experienced different variations, but this is the easiest to replicate. As far as I could tell the problem applied when more than one <span> tag appeared on a page. The first tag seems to get incorrectly closed.
As far as I can tell the bug does affect the saved HTML.
Change History (2)
comment:1 Changed 18 years ago by
comment:2 Changed 18 years ago by
| Description: | modified (diff) |
|---|---|
| Keywords: | Pending added; span removed |
Please, test anything related to styles with the current nightly as the style system has been rewritten.

This applies to using the editor in IE7. I just tested in FF2 and, while empty lines do appear, the formatting and the content order are preserved.