IE creates incorrect list structure when removing list item #2774
Labels
browser:ie
The issue can only be reproduced in the Internet Explorer browser.
plugin:list
The plugin which probably causes the issue.
status:confirmed
An issue confirmed by the development team.
type:feature
A feature request.
Type of report
Feature request (workaround)
Provide description of the new feature
Extracted from #2738 (review)
This is request for workaround for an IE upstream issue.
<li>Bar^
.What happens?
li
element is removed, and its content is extracted tool
. Markup looks like this;Note: when selection is in the middle of text, or is followed by
inline
elements behaviour is works as expected:Why is it problematic?
We have dedicated logic to merge list items, which fires when Backspace is pressed with selection at the start of
li
element. But this logic doesn't trigger when IE removes this element with selection at index 1 of text, eg.<li>F^
. Workaround should detect all cases when IE removes the element together with text and trigger list item merging logic.The text was updated successfully, but these errors were encountered: