Ticket #2092 (new Bug)

Opened 8 months ago

Last modified 5 months ago

Styles system should support removal of block styles

Reported by: Lebannen Owned by:
Priority: Normal Milestone:
Component: Core : Styles Version: FCKeditor 2.6 RC
Keywords: Confirmed Cc:

Description

To reproduce the problem:

1) Go to http://www.fckeditor.net/demo 2) Select the words "This is some", and apply the style "Red Title". The entire sentence gains the styled h3 block element. 3) Try to remove the style.

It is possible to remove the surrounding block element using the Format menu, but not via the Styles menu. It should be possible to - if not remove - convert the style-applied block element to the configured EnterMode element.

The target behavior should be to add a style via the Styles menu, and then remove it via the Styles menu.

Change History

Changed 8 months ago by Lebannen

(Occurs in 2.5.1, 2.6 RC. Prior to this the Styles system allowed removal of styles, I believe.)

Changed 8 months ago by w.olchawa

  • keywords Confirmed added; styles removed
  • version set to FCKeditor 2.6 RC

Confirmed in IE and FF2. Other styles than "Red title" work just fine.

Changed 5 months ago by julia82

I'm interested in getting news of that bug. I'm using version 2.5.1.

Note: See TracTickets for help on using tickets.