mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-05-23 17:19:37 +02: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:
@@ -1342,6 +1342,13 @@ const ProjectController = {
|
||||
Features.hasFeature('saas') &&
|
||||
participatingInVisualEditorNamingTest
|
||||
|
||||
let richTextVariant
|
||||
if (!Features.hasFeature('saas')) {
|
||||
richTextVariant = 'cm6'
|
||||
} else {
|
||||
richTextVariant = richTextAssignment.variant
|
||||
}
|
||||
|
||||
res.render(template, {
|
||||
title: project.name,
|
||||
priority_title: true,
|
||||
@@ -1418,7 +1425,7 @@ const ProjectController = {
|
||||
fixedSizeDocument: true,
|
||||
useOpenTelemetry: Settings.useOpenTelemetryClient,
|
||||
showCM6SwitchAwaySurvey: Settings.showCM6SwitchAwaySurvey,
|
||||
richTextVariant: richTextAssignment.variant,
|
||||
richTextVariant,
|
||||
showOnboardingVideoTour,
|
||||
historyViewReact: historyViewAssignment.variant === 'react',
|
||||
showPersonalAccessToken,
|
||||
|
||||
Reference in New Issue
Block a user