Double click on one word span produces buggy selection #3161
Labels
browser:firefox
The issue can only be reproduced in the Firefox browser.
browser:ie11
The issue can only be reproduced in the Internet Explorer 11 browser.
core
The issue is caused by the editor core code.
status:confirmed
An issue confirmed by the development team.
type:feature
A feature request.
Milestone
Type of report
Feature
Provide detailed reproduction steps (if any)
t/2813
( Fix for:editor.insertHtml
andeditor.insertElement
pollutes editable with empty spans #2987) is merged open manual testtests/core/editable/manual/insert
Foo ^bar
.insert element
.bar
span.insert element
Expected result
Span containing word
bar
is completely removed.Actual result
Span is preserved only it's text is removed.
Other details
This is an upstream browser issue, so it is labeled as a feature to provide a workaround. To fix this we should introduce logic to optimize selection, which would also fix #3118.
The text was updated successfully, but these errors were encountered: