Steps to reproduce:
1.Open a page with VE
2.Open link inspector and add a link there
3.Delete the link by pressing backspace
4.Now while the cursor at the start position of that line, open any inspector.
The inspector crashes upon opening, cannot close it anymore
And the following error appears in the console:
Error: Offset could not be translated to a DOM element and offset: 22