mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-11-14 14:13:43 +01:00
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:
committed by
Copybot
parent
77952e5d21
commit
2d9fc99274
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user