Opened 13 years ago

Closed 12 years ago

Last modified 12 years ago

#253 closed Bug (fixed)

Styles don't become active when applied to collapsed selections

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

Description (last modified by Frederico Caldeira Knabben)

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 (7)

comment:1 Changed 13 years ago by Frederico Caldeira Knabben

Description: modified (diff)
Keywords: Confirmed added
Milestone: FCKeditor 2.4.1FCKeditor 2.5

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

comment:2 Changed 13 years ago by Frederico Caldeira Knabben

Component: GeneralCore : Styles

comment:3 Changed 12 years ago by Frederico Caldeira Knabben

Summary: Style format behavior problemsStyles don't become active when applied to collapsed selections

comment:4 Changed 12 years ago by Frederico Caldeira Knabben

#659 has been marked as DUP.

comment:5 Changed 12 years ago by Frederico Caldeira Knabben

#1216 has been marked as DUP.

comment:6 Changed 12 years ago by Frederico Caldeira Knabben

Resolution: fixed
Status: newclosed

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.

comment:7 Changed 12 years ago by Frederico Caldeira Knabben

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

Note: See TracTickets for help on using tickets.
© 2003 – 2019 CKSource – Frederico Knabben. All rights reserved. | Terms of use | Privacy policy