https://bugzilla.wikimedia.org/show_bug.cgi?id=59972
Web browser: ---
Bug ID: 59972
Summary: VisualEditor: Exception thrown placing cursor at end
of document with no content offsets
Product: VisualEditor
Version: unspecified
Hardware: All
OS: All
Status: NEW
Severity: normal
Priority: Unprioritized
Component: Data Model
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected], [email protected],
[email protected], [email protected],
[email protected]
Classification: Unclassified
Mobile Platform: ---
1. Create a document with just a block image [[File:Foo.jpg|thumb]] on one line
2. Edit the document and try to place the cursor in the second slug (after the
image)
3. An exception is thrown (getNearestContentOffset(selection.end) returns -1
and this is fed into getAnnotationsFromOffset)
--
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l