Opened 3 years ago

Last modified 3 years ago

#14642 confirmed Bug

Shift+Enter after pressing backspace inserts two br's instead of one

Reported by: AndyMillne Owned by:
Priority: Normal Milestone:
Component: General Version: 4.0
Keywords: Cc:

Description (last modified by Jakub Ś)

Steps to reproduce

  1. On the demo at http://ckeditor.com/demo clear the contents of the editor
  2. Type anything on the first line
  3. Press Enter
  4. Press Backspace
  5. Press Shift+Enter

Expected result

One BR is inserted

Actual result

Two BR's are inserted

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

Firefox, Mac OS (El Capitan), CKEditor Version 4.5.9

Change History (1)

comment:1 Changed 3 years ago by Jakub Ś

Description: modified (diff)
Status: newconfirmed
Summary: Shift enter after pressing backspace does not create a new lineShift+Enter after pressing backspace inserts two br's instead of one
Version: 4.5.94.0

Problem can be reproduced at least from CKEditor 3.0.0 in Firefox on Mac and Windows.

Result:

<p>test<br />
<br />
&nbsp;</p>

@AndyMillne you got it a little bit wrong. It is not new paragraph what is created but two BR's instead of one.

Interesting is that if after step 4 you press e.g. down arrow and then Shift+Enter, it works correctly.

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