Opened 10 years ago
Last modified 10 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
- 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>
- Go to wysiwyg mode
- 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> </p>).
- The p is removed but the div is now unexpectedly removed also. The results are below:
<p>p in div</p>
- Expected:
<div> <p>p in div</p> </div>
Note: backspace behaves similarly.
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.