Opened 17 years ago

Last modified 17 years ago

#1378 closed Bug

Unpredictable behaviour using Styles — at Initial Version

Reported by: david.public Owned by:
Priority: Normal Milestone:
Component: Core : Styles Version: FCKeditor 2.4.3
Keywords: Pending Cc:

Description

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 (0)

Note: See TracTickets for help on using tickets.
© 2003 – 2022, CKSource sp. z o.o. sp.k. All rights reserved. | Terms of use | Privacy policy