Page MenuHomePhabricator

Focusing VisualEditor does not work in Firefox
Closed, ResolvedPublic8 Estimated Story Points

Description

Calling .focus() on a ve.ce.Surface enables the toolbar, but does not put the cursor in the editor. Key presses go nowhere. This works correctly in Chrome but is broken in Firefox.

This is especially noticeable when you open VE for an article: in Chrome, the cursor is placed at the beginning of the article and you can start typing immediately, while in Firefox you have to click in the article before you can type.

Event Timeline

Catrope claimed this task.
Catrope raised the priority of this task from to Needs Triage.
Catrope updated the task description. (Show Details)
Catrope subscribed.

Change 232893 had a related patch set uploaded (by Catrope):
Make focusing surfaces work in Firefox

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

Jdforrester-WMF set Security to None.
Jdforrester-WMF edited a custom field.

Change 232893 merged by jenkins-bot:
Make focusing surfaces work in Firefox

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