1
0
Fork 0
mirror of https://github.com/overleaf/overleaf.git synced 2024-12-18 23:24:17 -05:00
overleaf/server-ce/hotfix/3.2.1/disable-codemirror.patch
Miguel Serrano b449107411 Merge pull request from overleaf/msm-ce-sp-hotfix-3_2_1
[CE/SP] Hotfix 3.2.1

GitOrigin-RevId: d1c89f40b00e0d648e7f8d76083605cb29aca59e
2022-08-29 08:04:47 +00:00

15 lines
735 B
Diff

--- services/web/app/src/Features/Project/ProjectController.js
--- services/web/app/src/Features/Project/ProjectController.js
@@ -1134,11 +1134,7 @@ const ProjectController = {
detachRole = req.params.detachRole
}
- const showNewSourceEditorOption =
- (newSourceEditorAssignment &&
- newSourceEditorAssignment.variant === 'codemirror') ||
- user.betaProgram ||
- shouldDisplayFeature('new_source_editor', false) // also allow override via ?new_source_editor=true
+ const showNewSourceEditorOption = false // disabled in CE/SP (Hotfix 3.2.1)
const showSymbolPalette =
!Features.hasFeature('saas') ||