Opened 14 years ago

Closed 13 years ago

Last modified 12 years ago

#5678 closed Bug (invalid)

Styles are used on the next line inconsistently

Reported by: Alex Medina Owned by:
Priority: Normal Milestone:
Component: General Version: 3.2.1
Keywords: Cc: alex@…, lokeshnagpal86@…

Description (last modified by Alfonso Martínez de Lizarrondo)

CKeditor 3.2.1. : Styles are used on the next line inconsistently

This was tested in FF and IE in the demo site.

  • clear the content of the CKeditor textarea
  • write these lines in the textarea
    111111111111
    222222222222
    333333333333
    
  • select the line with "222222222222" and apply Style "Blue Title"
  • put your cursor at the end of the line and hit the enter (return) key
  • type "this is normal text"
  • => The "Blue Title" style is not used.

However, if you repeat the same process for other style such as variable, the style is used on the next line as well after the newline.

There is inconsistency of style behavior.

*Try to test this behavior with other styles as well with this ticket.

Change History (3)

comment:1 Changed 13 years ago by Lokesh

Cc: lokeshnagpal86@… added
Summary: CKeditor 3.2.1. : Styles are used on the next line inconsistentlyCKeditor 3.4.2. : Styles are used on the next line inconsistently
Version: 3.2.13.4.2

comment:2 Changed 13 years ago by Alfonso Martínez de Lizarrondo

Description: modified (diff)
Summary: CKeditor 3.4.2. : Styles are used on the next line inconsistentlyStyles are used on the next line inconsistently
Version: 3.4.23.2.1

Lokesh: please, stop changing the version of reported bugs. It certainly doesn't help at all because it makes it look like a recent problem instead of something related to older changes (or even something that it has been always this way)

comment:3 Changed 13 years ago by Jakub Ś

Resolution: invalid
Status: newclosed

Block styles are not continued in new line while inline styles are continued with every line entered. This is how CKEditor works.

Style continuation is in one special case browser dependent issue. Some browsers such as Firefox, make it easy to move in and out element boundaries, while others IE, Opera and Webkit, don't. If you are using Firefox and you are out of element boundaries then the inline style won’t be continued.
Like I’ve said this very special case is browser dependent and is not CKEditor bug and was already described in #7796 and in #8195.

Last edited 12 years ago by Jakub Ś (previous) (diff)
Note: See TracTickets for help on using tickets.
© 2003 – 2022, CKSource sp. z o.o. sp.k. All rights reserved. | Terms of use | Privacy policy