Ticket #240 (closed Bug: duplicate)

Opened 7 years ago

Last modified 7 years ago

"Remove Format" doesn't remove styles

Reported by: rem1th0mas Owned by:
Priority: Normal Milestone:
Component: Core : Styles Version: FCKeditor 2.4
Keywords: Confirmed IE SD-COE Cc: pkdille, Jyhem, 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

comment:1 Changed 7 years ago by fredck

  • Keywords Confirmed added; css removed
  • Component changed from General to Core : Styles
  • Milestone set to FCKeditor 2.5

comment:2 Changed 7 years ago by fredck

#296 is a DUP of this one.

comment:3 in reply to: ↑ description Changed 7 years ago by alozano

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 7 years ago by fredck

  • Keywords IE added
  • Summary changed from once style selected for a piece of text, it can not be changed (IE6 / ASP) to "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 7 years ago by fredck

  • Status changed from new to closed
  • Resolution set to fixed
  • Milestone FCKeditor 2.5 deleted

Actually, this is a DUP of #75.

comment:6 Changed 7 years ago by fredck

  • Status changed from closed to reopened
  • Resolution fixed deleted

comment:7 Changed 7 years ago by fredck

  • Status changed from reopened to closed
  • Resolution set to duplicate

comment:8 Changed 7 years ago by fredck

  • Keywords SD-COE added

comment:9 Changed 7 years ago by fredck

  • Cc Pascal.KUSTNER@… added

comment:10 Changed 7 years ago by fredck

  • Cc pkdille, Jyhem, nyloth added; Pascal.KUSTNER@… removed
Note: See TracTickets for help on using tickets.
© 2003 – 2012 CKSource – Frederico Knabben. All rights reserved. | Terms of use | Privacy policy