mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-21 20:47:08 -05:00
Merge pull request #13123 from overleaf/msm-enforce-cm6-sp
[web] Set richTextVariant=cm6 for CE/SP GitOrigin-RevId: a3f0e1ea67ee1f707f6bf3b0178a88e88d89f75d
This commit is contained in:
parent
a5834a0f8c
commit
ed19b2521f
1 changed files with 8 additions and 1 deletions
|
@ -1342,6 +1342,13 @@ const ProjectController = {
|
||||||
Features.hasFeature('saas') &&
|
Features.hasFeature('saas') &&
|
||||||
participatingInVisualEditorNamingTest
|
participatingInVisualEditorNamingTest
|
||||||
|
|
||||||
|
let richTextVariant
|
||||||
|
if (!Features.hasFeature('saas')) {
|
||||||
|
richTextVariant = 'cm6'
|
||||||
|
} else {
|
||||||
|
richTextVariant = richTextAssignment.variant
|
||||||
|
}
|
||||||
|
|
||||||
res.render(template, {
|
res.render(template, {
|
||||||
title: project.name,
|
title: project.name,
|
||||||
priority_title: true,
|
priority_title: true,
|
||||||
|
@ -1418,7 +1425,7 @@ const ProjectController = {
|
||||||
fixedSizeDocument: true,
|
fixedSizeDocument: true,
|
||||||
useOpenTelemetry: Settings.useOpenTelemetryClient,
|
useOpenTelemetry: Settings.useOpenTelemetryClient,
|
||||||
showCM6SwitchAwaySurvey: Settings.showCM6SwitchAwaySurvey,
|
showCM6SwitchAwaySurvey: Settings.showCM6SwitchAwaySurvey,
|
||||||
richTextVariant: richTextAssignment.variant,
|
richTextVariant,
|
||||||
showOnboardingVideoTour,
|
showOnboardingVideoTour,
|
||||||
historyViewReact: historyViewAssignment.variant === 'react',
|
historyViewReact: historyViewAssignment.variant === 'react',
|
||||||
showPersonalAccessToken,
|
showPersonalAccessToken,
|
||||||
|
|
Loading…
Reference in a new issue