mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-14 20:40:17 -05:00
Merge pull request #9415 from overleaf/msm-ce-sp-hotfix-3_2_1
[CE/SP] Hotfix 3.2.1 GitOrigin-RevId: d1c89f40b00e0d648e7f8d76083605cb29aca59e
This commit is contained in:
parent
7288ef0370
commit
b449107411
2 changed files with 21 additions and 0 deletions
6
server-ce/hotfix/3.2.1/Dockerfile
Normal file
6
server-ce/hotfix/3.2.1/Dockerfile
Normal file
|
@ -0,0 +1,6 @@
|
||||||
|
FROM sharelatex/sharelatex:3.2.0
|
||||||
|
|
||||||
|
# Patch: fixes source editor broken
|
||||||
|
# https://github.com/overleaf/overleaf/issues/1043
|
||||||
|
COPY disable-codemirror.patch .
|
||||||
|
RUN patch -p0 < disable-codemirror.patch
|
15
server-ce/hotfix/3.2.1/disable-codemirror.patch
Normal file
15
server-ce/hotfix/3.2.1/disable-codemirror.patch
Normal file
|
@ -0,0 +1,15 @@
|
||||||
|
--- 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') ||
|
Loading…
Reference in a new issue