Ticket #9009 (confirmed Bug)

Opened 2 years ago

Last modified 18 months ago

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

Reported by: pauljvrw Owned by:
Priority: Normal Milestone:
Component: Core : Styles Version: 3.6.3
Keywords: IBM Cc: tmonahan, damo, satya

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

comment:1 Changed 2 years ago by pauljvrw

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 2 years ago by j.swiderski

  • Status changed from new to confirmed

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 18 months ago by j.swiderski (previous) (diff)

comment:3 Changed 22 months ago by j.swiderski

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

comment:4 Changed 18 months ago by j.swiderski

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

comment:5 Changed 18 months ago by j.swiderski

  • Cc tmonahan, damo, satya added
  • Keywords IBM added

#10435 was marked as duplicate.

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

Last edited 18 months ago by j.swiderski (previous) (diff)
Note: See TracTickets for help on using tickets.
© 2003 – 2012 CKSource – Frederico Knabben. All rights reserved. | Terms of use | Privacy policy