Page MenuHomePhabricator

Selecting a line that ends in a template does not select the template in the VisualEditor
Open, Needs TriagePublicBUG REPORT

Description

Steps to replicate the issue (include links if applicable):

  • Select a line with a template at the end
  • Copy it
  • Paste it on a new line

What happens?:

The pasted content does not include the template at the end of the line.

What should have happened instead?:

It should have included the template at the end of the line.

Software version (skip for WMF-hosted wikis like Wikipedia):

Other information (browser name/version, screenshots, etc.):

Event Timeline

Change 883190 had a related patch set uploaded (by Bartosz Dziewoński; author: Bartosz Dziewoński):

[VisualEditor/VisualEditor@master] Try to prevent selections inside ref/template nodes on Firefox

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

Change 883190 merged by jenkins-bot:

[VisualEditor/VisualEditor@master] Try to prevent selections inside ref/template nodes on Firefox

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

Change 887326 had a related patch set uploaded (by Jforrester; author: Jforrester):

[mediawiki/extensions/VisualEditor@master] Update VE core submodule to master (109c9a606)

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

Change 887326 merged by jenkins-bot:

[mediawiki/extensions/VisualEditor@master] Update VE core submodule to master (109c9a606)

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

matmarex moved this task from Code Review to QA on the Editing-team (Kanban Board) board.
matmarex added a project: Editing QA.

The change may not completely fix the issue, and there may be other issues related to text cursor movement near focusable nodes. If you have some time, it'd be nice to explore around a little bit and report what you find, in different browsers as well. Issues in T272207, T313162 and T327086 are all probably related.

matmarex subscribed.