Opened 8 years ago

Closed 8 years ago

#14238 closed Bug (duplicate)

When click in editor on empty line after clicking styling button such as bold, button gets turned off in Firefox and IE

Reported by: Lynn Robinson Owned by:
Priority: Normal Milestone:
Component: General Version: 4.5.1
Keywords: Cc:

Description

Steps to reproduce

  1. Use Firefox or Internet Explorer (any recent version) and use the demo CKEditor http://ckeditor.com/demo (the bug still exists in the latest version, but I see the problem also in version 4.5.1 that I'm using). The bug does not occur in Google Chrome.
  1. Click to set the insertion point and create a new (normal, unstyled) line (paragraph) in the text (e.g. hitting enter key if there is already some existing text).
  1. Click a styling button in the toolbar such as 'bold' or 'italic'.
  1. Now click again at the same insertion point in the empty line and start typing. The button you had clicked turns off again and the style (bold or italic) is not applied.

I realize the simple workaround is to just start typing and not click again (or select the text afterward and apply styling), but my QA team noticed this and filed a bug against our product which uses CKEditor.

Expected result

I expect the button to still be active and the style still to be applied even though I clicked again in the text at the same insertion point.

Actual result

The style was not applied and the styling button (e.g. bold) was turned off.

Other details (browser, OS, CKEditor version, installed plugins)

Again, the bug only happens in IE or Firefox, not Google Chrome. The bug is easily recreatable in your demo.

Change History (2)

comment:1 Changed 8 years ago by kkrzton

Status: newconfirmed

Tested on FF 43.0.4 and CKEditor 4.5.6.

comment:2 Changed 8 years ago by Jakub Ś

Resolution: duplicate
Status: confirmedclosed

DUP of #12634

NOTE: From what I can see, this issue is also reproducible in default Chrome.

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