Opened 17 years ago
Closed 17 years ago
#2009 closed Bug (fixed)
Disappearing Style Tags
Reported by: | goyney | Owned by: | Frederico Caldeira Knabben |
---|---|---|---|
Priority: | Must have (possibly next milestone) | 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 (1)
Change History (5)
comment:1 Changed 17 years ago by
Keywords: | Confirmed added; disappear disappearing style tags removed |
---|
Changed 17 years ago by
Attachment: | 2009.patch added |
---|
comment:2 Changed 17 years ago by
Keywords: | Review? added |
---|---|
Owner: | set to Frederico Caldeira Knabben |
Status: | new → assigned |
comment:3 Changed 17 years ago by
Keywords: | Review+ added; Review? removed |
---|
comment:4 Changed 17 years ago by
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Fixed with [1716]. Click here for more info about our SVN system.
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.