VisualEditor: After adding a link, cursor appears before rather than after the new insertion
Closed, ResolvedPublic

Description

When adding a link from scratch (without marking an existing word first) the cursor ends up being at the beginning of the new link rather than at its end -- which stops fluent typing.

Reproduce:

  1. Go to an RTL wiki.
  2. Go to a new sentence or new paragraph (cursor should be in an empty space)
  3. Create link, followed by enter/enter to close the inspector
  4. The cursor appears at the left of the word (which is the beginning in RTL) rather than the right of the word.

Version: unspecified
Severity: normal

Details

Reference
bz53560
Mooeypoo created this task.Aug 29 2013, 8:23 PM

This was actually not just for RTL wikis, and the submitted patch fixes the problem for both directions in Annotation Inspector (for both links and languages)

Change 81872 had a related patch set uploaded by Jforrester:
Cursor fix after link insertion

https://gerrit.wikimedia.org/r/81872

Change 81872 merged by jenkins-bot:
Cursor fix after link insertion

https://gerrit.wikimedia.org/r/81872

Add Comment