Merge pull request #29771 from overleaf/dp-beta

Give beta users back access to the editor redesign

GitOrigin-RevId: 11c3044c85cdfbd4bb3745cd0c575a8bc5af4ec2
This commit is contained in:
David
2025-11-19 14:37:20 +00:00
committed by Copybot
parent fc1563f78c
commit d56b80508b

View File

@@ -42,7 +42,12 @@ export const isSplitTestUser = () => {
}
export const canUseNewEditorAsExistingUser = () => {
return !canUseNewEditorAsNewUser() && isSplitTestEnabled('editor-redesign')
const isBetaUser = getMeta('ol-user').betaProgram
return (
!canUseNewEditorAsNewUser() &&
(isSplitTestEnabled('editor-redesign') || isBetaUser)
)
}
export const canUseNewEditorAsNewUser = () => {