Opened 4 years ago

Last modified 4 years ago

#12968 confirmed Bug

Deleting a paragraph deletes following div

Reported by: Larry Hinderks Owned by:
Priority: Normal Milestone:
Component: General Version: 3.0
Keywords: Cc:

Description

  1. Create the following in source mode in the ckeditor demo site using the full featured mode:
<p>p not in div</p>
<div>
<p>p in div</p>
</div>
  1. Go to wysiwyg mode
  1. Place the cursor on the left of the first character in the line "p not in div" and hit the delete key multiple times until all the characters on that line are deleted. Hit the delete key one more time (to remove the remaining <p>&nbsp</p>).
  1. The p is removed but the div is now unexpectedly removed also. The results are below:
<p>p in div</p>
  1. Expected:
<div>
<p>p in div</p>
</div>

Note: backspace behaves similarly.

Change History (1)

comment:1 Changed 4 years ago by Jakub Ś

Status: newconfirmed
Version: 4.4.73.0

I was able to reproduce this problem in IE8-11, Blink and Webkit. Only Firefox seems to work fine.

Problem can be reproduced from CKEditor 3.0.

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