Opened 13 years ago

Last modified 13 years ago

#7325 confirmed Bug

Webkit: backspace moves content between p tags (instead of merging them)

Reported by: Dane Bertram Owned by:
Priority: Normal Milestone:
Component: General Version: 3.4.2
Keywords: WebKit Cc: dane@…

Description

I wasn't sure how best to summarize this in the title, but here's how to repro this using Safari or Chrome on www.ckeditor.com/demo:

  1. Enter the following using shift+enter/enter as indicated:

one[shift+enter]two[enter]three[shift+enter]four

This results in two <p> tags with <br /> tags where you pressed shift+enter (as expected):

<p>one<br />two</p><p>three<br />four</p>

  1. Move the cursor before "three" and hit backspace

Expected result:

<p>one<br />twothree<br />four</p>

I.e., Merge the two <p> tags.

Actual result:

<p>one<br />twothree</p><p>four</p>

I.e., Still two <p> tags, but part of the second <p> tag has been moved into the first.

I've tested this from 3.4.2 up until 3.5.2, but I suspect it probably goes back further.

This is reproducible in Chrome and Safari, but not in FF/IE/Opera, which makes me think it's Webkit-specific.

Attachments (3)

before.png (1.2 KB) - added by Dane Bertram 13 years ago.
Before
after_expected.png (1.2 KB) - added by Dane Bertram 13 years ago.
After expected (FF/IE/Opera)
after_actual.png (1.2 KB) - added by Dane Bertram 13 years ago.
After actual (Chrome/Safari)

Download all attachments as: .zip

Change History (5)

Changed 13 years ago by Dane Bertram

Attachment: before.png added

Before

Changed 13 years ago by Dane Bertram

Attachment: after_expected.png added

After expected (FF/IE/Opera)

Changed 13 years ago by Dane Bertram

Attachment: after_actual.png added

After actual (Chrome/Safari)

comment:1 Changed 13 years ago by Dane Bertram

Cc: dane@… added

comment:2 Changed 13 years ago by Frederico Caldeira Knabben

Keywords: WebKit added
Status: newconfirmed

Confirmed with WebKit only.

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