Ticket #2009 (closed Bug: fixed)

Opened 2 months ago

Last modified 2 months ago

Disappearing Style Tags

Reported by: goyney Assigned to: fredck
Priority: High Milestone: FCKeditor 2.6
Component: Core : Styles Version: FCKeditor 2.6 Beta
Keywords: Confirmed Review+ Cc:

Description

To recreate this yourself, go look at the current FCKeditor Demo (the nightly build does it also.)

If you have text in the RTE with an applied style, for my example we'll use bold, and you try to apply that same style above that previous style in the document, when you close the tag, it removes that same style from the rest of the document below where you closed the tag.

Example: Here is your bold text. It is typically much thicker than normal text.

If you were to move that text down and try to write a line above that line and you wanted to use some bold text, there are two ways you could do it:

First, you could write the whole line out and once the line was written, highlight the part you want bold and apply it. This works fine.

The second was is to, while typing it, stop at the word you want bold, either press the B icon in the toolbar or press CTRL+B to turn bold on, and then continue typing. When doing this, when you turn bold off by either pressing the B icon in the toolbar or using CTRL+B, it removes all style from the rest of the document that matches that style.

This is a very serious usability bug and hampers productivity for our environment. Thank you for your quick investigation and fix to this problem.

Attachments

2009.patch (1.4 kB) - added by fredck on 03/15/08 17:56:32.

Change History

03/13/08 16:53:19 changed by wwalc

  • keywords changed from disappear disappearing style tags to Confirmed.

03/15/08 17:56:32 changed by fredck

  • attachment 2009.patch added.

03/15/08 18:03:20 changed by fredck

  • keywords changed from Confirmed to Confirmed Review?.
  • owner set to fredck.
  • status changed from new to assigned.

The code for the floating dialogs mistakenly removed a return clause from the fckstyle.js file (from line 279), which caused problems with collapsed styles removal, specially when the cursor was placed in the boundaries of the styles text.

The proposed patch reverts that return back, fixing the reported problem.

03/17/08 04:54:29 changed by martinkou

  • keywords changed from Confirmed Review? to Confirmed Review+.

03/18/08 09:59:39 changed by fredck

  • status changed from assigned to closed.
  • resolution set to fixed.

Fixed with [1716]. Click here for more info about our SVN system.