Opened 10 years ago

Closed 10 years ago

Last modified 10 years ago

#240 closed Bug (duplicate)

"Remove Format" doesn't remove styles

Reported by: remi Owned by:
Priority: Normal Milestone:
Component: Core : Styles Version: FCKeditor 2.4
Keywords: Confirmed IE SD-COE Cc: pkdille, Jean-Marc Libs, Nyloth

Description

I found an ennoying bug with IE6 using css to format the text

To reproduce it, go to the official demo page http://www.fckeditor.net/demo select "This is some sample text" and apply the 'title' style, click elsewhere. Come back to this text, try to 'remove format' or change the style to anything else: none of the below are working.

when you change the style it keeps adding <span > tags around the selected text.

Indeed it's workign perfectly with Firefox, it seems to be a IE bug only. (Unfortunately most of my clients are Microsoft addict..)

Change History (10)

comment:1 Changed 10 years ago by Frederico Caldeira Knabben

Component: GeneralCore : Styles
Keywords: Confirmed added; css removed
Milestone: FCKeditor 2.5

comment:2 Changed 10 years ago by Frederico Caldeira Knabben

#296 is a DUP of this one.

comment:3 in reply to:  description Changed 10 years ago by antonio

Hi, I have the same problem, but it also happens to mi in php module. Do you know if there is some fix to avoid this bug? Sorry for my english. Bye.

comment:4 in reply to:  description Changed 10 years ago by Frederico Caldeira Knabben

Keywords: IE added
Summary: once style selected for a piece of text, it can not be changed (IE6 / ASP)"Remove Format" doesn't remove styles

Replying to rem1th0mas:

when you change the style it keeps adding <span > tags around the selected text.

Just to clarify, this is the expected behavior with the current version.

Today, the styles combo is "cumulative", as it "combines" different styles in the same piece of text. To remove one of the applied styles, it is enough to simple click on the style (which should have a small array marking it) in the styles combo.

We will be working to make it configurable with the new style system, so one can decide which styles can be combined, and which not.

The buggy thing instead is the "Remove Format" button, which doesn't remove <span> tags applied to the selection.

comment:5 Changed 10 years ago by Frederico Caldeira Knabben

Milestone: FCKeditor 2.5
Resolution: fixed
Status: newclosed

Actually, this is a DUP of #75.

comment:6 Changed 10 years ago by Frederico Caldeira Knabben

Resolution: fixed
Status: closedreopened

comment:7 Changed 10 years ago by Frederico Caldeira Knabben

Resolution: duplicate
Status: reopenedclosed

comment:8 Changed 10 years ago by Frederico Caldeira Knabben

Keywords: SD-COE added

comment:9 Changed 10 years ago by Frederico Caldeira Knabben

Cc: Pascal.KUSTNER@… added

comment:10 Changed 10 years ago by Frederico Caldeira Knabben

Cc: pkdille Jean-Marc Libs Nyloth added; Pascal.KUSTNER@… removed
Note: See TracTickets for help on using tickets.
© 2003 – 2017 CKSource – Frederico Knabben. All rights reserved. | Terms of use | Privacy policy