Merge pull request #32655 from overleaf/mj-preview-tabs-setting

[web] Add setting for temporary tab behaviour

GitOrigin-RevId: efef9e1db55d4498daadf13efad7fe12578cec21
This commit is contained in:
Mathias Jakobsen
2026-04-08 08:05:07 +00:00
committed by Copybot
parent 77952e5d21
commit 2d9fc99274
14 changed files with 144 additions and 61 deletions
@@ -406,6 +406,9 @@ async function updateUserSettings(req, res, next) {
if (body.syntaxValidation != null) {
user.ace.syntaxValidation = body.syntaxValidation
}
if (body.previewTabs != null) {
user.ace.previewTabs = Boolean(body.previewTabs)
}
if (body.fontFamily != null) {
user.ace.fontFamily = body.fontFamily
}