Ticket #253 (closed Bug: fixed)

Opened 3 years ago

Last modified 2 years ago

Styles don't become active when applied to collapsed selections

Reported by: mkoepke Owned by:
Priority: Normal Milestone: FCKeditor 2.5 Beta
Component: Core : Styles Version: SVN (FCKeditor)
Keywords: Confirmed Cc:

Description (last modified by fredck) (diff)

Good news is that Font, Size, and Format work correctly now in both IE and FF.

The Style selection is having problems.

Firefox

  1. Select Style and type text. Style not used.
  2. Press enter (new <p>), select a style, type text, style is not used.
  3. Put cursor in middle of line that has text.
  4. Type some more text. Style is not used.
  5. Press Enter. Style is used for new paragraph, but only for newly typed characters.

IE

With IE it still doesn't work, but it doesn't work differently. The only time you can get the Style applied is that actually highlight text then apply a style.

  • If you highlight text in the middle of a line, only that text has the style applied. All new text uses previous normal format
  • If you highlight text at the end of a line, that text applies the style, but additionally, if Enter is pressed, the following paragraph uses the new Style.

Change History

Changed 3 years ago by fredck

  • keywords Confirmed added
  • description modified (diff)
  • milestone changed from FCKeditor 2.4.1 to FCKeditor 2.5

Confirmed. To be fixed with the new style system to be developed for v 2.5.

Changed 3 years ago by fredck

  • component changed from General to Core : Styles

Changed 3 years ago by fredck

  • summary changed from Style format behavior problems to Styles don't become active when applied to collapsed selections

Changed 3 years ago by fredck

#659 has been marked as DUP.

Changed 3 years ago by fredck

#1216 has been marked as DUP.

Changed 2 years ago by fredck

  • status changed from new to closed
  • resolution set to fixed

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

I've implemented a solution which is working at 100% with IE and FF. Opera has a minor strange behavior and no support for it on Safari for now. I'll be opening specific tickets for those two browsers.

Changed 2 years ago by fredck

The implementation proposed with [852] has been reviewed with [855].

Note: See TracTickets for help on using tickets.