Page MenuHomePhabricator

VisualEditor: Clicking on somewhere else in the document after opening a link inspector inside a slug throws error "TypeError: Cannot read property 'previousSibling' of undefined"
Closed, ResolvedPublic1 Estimated Story Points



Steps to reproduce:

1.Open a page with VE
2.Insert a bullet list
3.Add some indentation
4.Now click on any slug that got created due to indentation
5.Open a link inspector on that position
6.While the link inspector is open, click somewhere else in the document to close the inspector

Observed Result:
The link inspector stays opened in that position and there is an error in the console:
TypeError: Cannot read property 'previousSibling' of undefined

See the screenshot attached

Environment:Betalabs,test2 and

Version: unspecified
Severity: normal
See Also:


Screen_Shot_2014-10-24_at_1.48.38_PM.png (634×1 px, 222 KB)



Event Timeline

bzimport raised the priority of this task from to Medium.Nov 22 2014, 3:49 AM
bzimport set Reference to bz72494.
gerritbot subscribed.

Change 190022 had a related patch set uploaded (by Esanders):
Simplify slug behaviour


Change 190022 merged by jenkins-bot:
Simplify slug behaviour