Opened 11 years ago

Last modified 11 years ago

#10047 confirmed Bug

FF: Replacing <Enter> with <Shift+Enter> results in extra <br />

Reported by: Chris Ingham Owned by:
Priority: Normal Milestone:
Component: General Version: 3.0
Keywords: Firefox Cc:


Firefox only (not reproducible in IE10, Chrome24):

I type a line of text followed by Enter. Whoops - I meant to type Shift+Enter, so I hit Backspace followed by Shift+Enter. What gives? Now my cursor is two 'lines' down!

Here's what I type:

"A line of text", <Enter>, <Backspace>, <Shift+Enter>

And now my cursor is two <br /> down instead of just one.

Verified in the basic demo and the nightly Using the "Enter" key in CKEditor sample, where I can see that 2 <br /> have been inserted from my final single <Shift+Enter>.

I'm running Firefox 18.0.2.

Change History (1)

comment:1 Changed 11 years ago by Jakub Ś

Keywords: Firefox added
Status: newconfirmed

Problem can be reproduced in Firefox form CKEditor 3.0.

In Firefox in plain contenteditable div with P inside this is what you get after above TC:

<br type="_moz">

and this is what you get in editor:

<br type="_moz">
<br type="_moz">

When you switch to source you get two br tags.

Seems that this extra <br type="_moz"> may be causing problems here.

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