[web] [cm6] Add a three-way switch for editor choice GitOrigin-RevId: fff788ddad8d10488e8446de7f1503702da0985f