Merge pull request #34512 from overleaf/mj-floating-toolbar-option

[web] Add setting for floating toolbar menu

GitOrigin-RevId: bd28f1f287f2011535c7fd530f1217f01e0cfbbc
This commit is contained in:
Mathias Jakobsen
2026-06-18 08:07:33 +00:00
committed by Copybot
parent 106dd1b07b
commit 5f79c2dd10
17 changed files with 237 additions and 5 deletions
@@ -438,6 +438,9 @@ async function updateUserSettings(req, res, next) {
if (body.darkModePdf != null) {
user.ace.darkModePdf = Boolean(body.darkModePdf)
}
if (body.floatingMenu != null) {
user.ace.floatingMenu = Boolean(body.floatingMenu)
}
if (body.zotero != null) {
user.ace.zotero = { ...user.ace.zotero, ...body.zotero }
}