Opened 9 years ago
Last modified 9 years ago
#13841 confirmed Bug
Elements path selection and deletion work unexpectedly — at Initial Version
Reported by: | Lyuba | Owned by: | |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | General | Version: | 3.0 |
Keywords: | Blink firefox | Cc: |
Description
Steps to reproduce
- Start with the following source:
<div style="background:red;">some red text</div> <div style="background:yellow;">some yellow text</div> <div style="background:blue;">some blue text</div>
- In WYSIWYG, place cursor on the yellow text
- On the elements path bar at the bottom, click "div" to highlight the yellow div
- Press delete
Expected result
I would expect the yellow div to be removed, and the result to be:
<div style="background:red;">some red text</div> <div style="background:blue;">some blue text</div>
Actual result
Instead, the context on yellow is removed, and the content of the following blue div is replaced inside instead (along with some line-height added for some reason):
<div style="background:red;">some red text</div> <div style="background:yellow;"><span style="background-color:blue; line-height:1.6">some blue text</span></div>
Other details (browser, OS, CKEditor version, installed plugins)
Using Chrome on Linux.
Reproducible on http://ckeditor.com/demo#full
I feel like this was working differently (and used to just remove the div) in previous releases.