Page MenuHomePhabricator

VisualEditor: Deleting a block item highlights the previous line
Closed, ResolvedPublic

Description

Screenshot

Steps to reproduce:

1.Open a page with VE which contains a block item like reflist or image
2.Delete the image

Observed Result:
A highlight appears from the end of the previous line covering up the rest of the line.

Instead of highlighting, upon deleting the block item the cursor should just appear at the end of the previous line.

See the screenshot attached


Version: unspecified
Severity: minor

Attached:

Screen_Shot_2014-06-27_at_1.42.04_PM.png (532×1 px, 65 KB)

Details

Reference
bz67213

Event Timeline

bzimport raised the priority of this task from to Low.Nov 22 2014, 3:30 AM
bzimport set Reference to bz67213.

Change 142806 had a related patch set uploaded by Esanders:
Fix up selection after deletion if at non-content offset

https://gerrit.wikimedia.org/r/142806

Change 142806 merged by jenkins-bot:
Fix up selection after deletion if at non-content offset

https://gerrit.wikimedia.org/r/142806

Verified the fix in betalabs and test2

Verified the fix in production