Merge pull request #8378 from overleaf/ii-cm6-three-way-toggle

[cm6] Make cm6 as the default source editor

GitOrigin-RevId: b56724d2c147792c55ce01cf272fbcce16f87916
This commit is contained in:
ilkin-overleaf
2022-06-15 08:05:18 +00:00
committed by Copybot
parent 1070dd53f3
commit 41c715c40d
3 changed files with 44 additions and 25 deletions
@@ -1015,6 +1015,7 @@ const ProjectController = {
const showNewSourceEditorOption =
(newSourceEditorAssignment &&
newSourceEditorAssignment.variant === 'codemirror') ||
user.betaProgram ||
shouldDisplayFeature('new_source_editor', false) // also allow override via ?new_source_editor=true
const showSymbolPalette =