Page MenuHomePhabricator

Changing the number of child nodes in a template rendering moves the cursor
Open, Needs TriagePublic

Description

For example, inserting {{FlowMention}} results in the rendering changing from a single <span>placeholder</span> to a two-node [ '@', <a>user</a> ]. The cursor which is placed after the placeholder is then moved in front of it.

This would apply to any inline template that expands in this way.

Event Timeline

Esanders created this task.Fri, Aug 23, 4:12 PM
Restricted Application added subscribers: Liuxinyu970226, Aklapper. · View Herald TranscriptFri, Aug 23, 4:12 PM

Change 531945 had a related patch set uploaded (by Esanders; owner: Esanders):
[VisualEditor/VisualEditor@master] GeneratedContentNode: Re-apply model selection if DOM node count changes

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

Change 531945 merged by jenkins-bot:
[VisualEditor/VisualEditor@master] GeneratedContentNode: Re-apply model selection if DOM node count changes

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

Change 532425 had a related patch set uploaded (by Bartosz Dziewoński; owner: Bartosz Dziewoński):
[mediawiki/extensions/VisualEditor@master] Update VE core submodule to master (3a669b323)

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

Change 532425 merged by jenkins-bot:
[mediawiki/extensions/VisualEditor@master] Update VE core submodule to master (3a669b323)

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

matmarex moved this task from Inbox to Low Priority on the Editing QA board.Mon, Sep 9, 10:58 PM