Opened 9 years ago
Last modified 9 years ago
#13841 confirmed Bug
Elements path selection and deletion work unexpectedly
Reported by: | Lyuba | Owned by: | |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | General | Version: | 3.0 |
Keywords: | Blink firefox | Cc: |
Description (last modified by )
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.
Please see comment:1 for Firefox result
Change History (1)
comment:1 Changed 9 years ago by
Description: | modified (diff) |
---|---|
Keywords: | Blink firefox added |
Status: | new → confirmed |
Version: | 4.5.4 → 3.0 |
From What I have checked problem can be reproduced from CKEditor 3.0 in Blink and Webkit browsers.
Additionally in Firefox the result is also not as expected. When checking it with Firebug it looks like:
After switching to source: