Page MenuHomePhabricator

VisualEditor: Error thrown when typing something while a left aligned image is selected
Closed, ResolvedPublic

Description

Screenshot

Steps to reproduce:

1.Open a page with VE
2.Insert an image .
3.Go to Media Settings>Advances Settings
4.Set the image alignment to left/None
5.Save the page
6.Reopen the page
7.Select the image
8.Start typing something

Observed Result:
ncaught Error: Offset could not be translated to a DOM element and offset: 143 appears in the console

See the screenshot attached
Test Environment: http://en.wikipedia.beta.wmflabs.org/
Browser: Chrome Version 26.0.1410.65
OS: MAC OS X 10. 8. 5
Page:http://en.wikipedia.beta.wmflabs.org/w/index.php?title=18thfebchrome&veaction=edit


Version: unspecified
Severity: normal

Attached:

Screen_Shot_2014-02-18_at_3.31.57_PM.png (593×1 px, 177 KB)

Details

Reference
bz61524

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 22 2014, 3:04 AM
bzimport set Reference to bz61524.

This is also happening while deleting the reflist of the same page

Found the steps to reproduce the case with deleting the reflist:

1.Add an image
2.Go to Media Settings>Advanced Settings
3.Set the position to left
4.Add a reference inside the image
5.Save the page
6.Open the page again
7.Delete the reflist

The error Uncaught Error: Offset could not be translated to a DOM element and offset: 143 appears in the console

Esanders claimed this task.
Esanders subscribed.

IME cursor code has changed significantly since 2014 and I can't reproduce. Please re-open if this is still hapenning.