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

bzimport set Reference to bz53560.
Mooeypoo created this task.Via LegacyAug 29 2013, 8:23 PM
Mooeypoo added a comment.Via ConduitAug 29 2013, 9:45 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)

gerritbot added a comment.Via ConduitAug 29 2013, 9:46 PM

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

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

gerritbot added a comment.Via ConduitAug 29 2013, 9:56 PM

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

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

Add Comment