Page MenuHomePhabricator

VisualEditor: Cursor jumps to the start of the line, if link and Language style text present.
Open, LowPublic

Description

screenshot

1> open a page in VE, insert a link. And after a space or two, insert some Language style text.
2> Now place the cursor at the end of the line and move along the line, the cursor jumps to the start of the line when it reaches the first character of the language style text .See screenshot.


Version: unspecified
Severity: minor

Attached:

screenshot.png (48×104 px, 590 B)

Details

Reference
bz70344

Event Timeline

so if i want to edit some text present in between a link and the language style text, i cannot do it.

Confirmed. The structure of a line is like the following:
*link* some text *lang text*

A cursor that moves from left to right(placed at the beginning of *link*) will go through the inserted link, then the text, and then through language style text.

A cursor that is placed at the end of *lang text* and then moved from right to left, will jump to the beginning of the line - which is a bug.

There is a workaround for editing the text between a link and lang style text - just place a cursor inside it.