HomePhabricator

Evaluate the editor preference only when loading the first editor

Authored by Catrope.

Description

Evaluate the editor preference only when loading the first editor

This prevents editor instances that were created early but used late
from caching an outdated value of the editor preference.

Example use case:

  • User opens editor for board description; wikitext editor opens
  • User switches to VE and starts editing
  • User opens editor for reply
  • VE should open; but without this change, wikitext editor opens

Change-Id: Ie755fa16af504683ce3d68a1de9363d878c1d4d6

Details

Committed
CatropeAug 13 2015, 8:33 PM
Parents
rEFLW1ff7e912cf0a: Remove obsolete incorrect comment
Branches
Unknown
Tags
Unknown
References
refs/changes/13/231413/1
ChangeId
Ie755fa16af504683ce3d68a1de9363d878c1d4d6