Opened 12 years ago

Closed 9 years ago

#9009 closed Bug (fixed)

Text style lost on previous line in enterMode = CKEDITOR.ENTER_BR when deselecting the style in the toolbar

Reported by: Paul Veldema Owned by:
Priority: Normal Milestone:
Component: Core : Styles Version: 3.6.3
Keywords: IBM Cc: Teresa Monahan, Damian, Satya Minnekanti

Description

How to reproduce:

  • 1 - Go to http://nightly.ckeditor.com/
  • 2 - Choose the sample "Using the "Enter" key in CKEditor"
  • 3 - Choose the 'use <BR> when enter is pressed' setting.
  • 4 - select 'underline' in the toolbar and type some words.
  • 5 - Type enter for going to a new line
  • 6 - deselect 'underline' in the toolbar

Now all underlining is removed from the previous line. The bold and other styles have the same problem.

In paragraph mode this does not happen. Same if you do not go to a new line. Therefore expected: text style on previous line is preserved after an enter in BR mode and subsequent deselect of the style in the toolbar.

Browsers tested: FF: bug found Safari: bug found Chrome: bug found IE9: Works as expected IE8: Works as expected

Change History (7)

comment:1 Changed 12 years ago by Paul Veldema

Now all underlining is removed from the previous line.

Should have been

Now the added underlining is removed from the previous line.

comment:2 Changed 12 years ago by Jakub Ś

Status: newconfirmed

Reproducible in Firefox, Webkit IE10 and Opera (IE6-9 works fine) from CKEditor 3.6.3 rev. [7392].

This TC can be applied to all format buttons as well as inline styles from Styles Dropdown.

NOTES:

  1. From CKE 3.1.1 till CKE 3.6.3 rev. [7392] it was not possible to remove underline. Disabling underline (point 6 of the TC) seemed to work but typed letters still appeared with underline.
  2. Opera has its problems with jumping cursor #6585 but the problem occurs there as well.
Last edited 11 years ago by Jakub Ś (previous) (diff)

comment:3 Changed 11 years ago by Jakub Ś

It seems we have few more tickets caused by this revision: #9933, #8980, #8942.

comment:4 Changed 11 years ago by Jakub Ś

#9933 is in fact a duplicate of this issue. Problem concerns all inline styles.

comment:5 Changed 11 years ago by Jakub Ś

Cc: Teresa Monahan Damian Satya Minnekanti added
Keywords: IBM added

#10435 was marked as duplicate.

Problem can be reproduced in both CKE 3.x and 4.x branches.

Last edited 11 years ago by Jakub Ś (previous) (diff)

comment:6 Changed 9 years ago by Paul Veldema

I can no longer reproduce this on the nightly build. Can also not reproduce on version 4.4.5.

Testen on:

Firefox 33.0.3

Chrome 39.0.2171.65

IE 11

Last edited 9 years ago by Paul Veldema (previous) (diff)

comment:7 Changed 9 years ago by Jakub Ś

Resolution: fixed
Status: confirmedclosed

I haven't been able to reproduce this problem as well. It looks like it has expired on master.

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