Page MenuHomePhabricator

VisualEditor: getNearestCorrectOffset doesn't ignore internal lists
Closed, ResolvedPublic

Description

This causes an exception to be thrown if you try to delete a content node at the end of the visible document (e.g. a reference list)


Version: unspecified
Severity: normal

Details

Reference
bz53366

Event Timeline

bzimport raised the priority of this task from to High.Nov 22 2014, 1:51 AM
bzimport set Reference to bz53366.

ElementLinearData#getRelativeOffset now checks for handlesOwnChildren, which prevents this from being an issue.