mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-11-15 06:33:55 +01:00
Merge pull request #32642 from overleaf/ab-non-blinking-cursor-editor-setting
[web] Add non-blinking cursor editor setting GitOrigin-RevId: 078efca21c1e87905894aadc1430c1728a38685d
This commit is contained in:
committed by
Copybot
parent
3f62eac181
commit
50db96878d
@@ -421,6 +421,9 @@ async function updateUserSettings(req, res, next) {
|
||||
if (body.breadcrumbs != null) {
|
||||
user.ace.breadcrumbs = Boolean(body.breadcrumbs)
|
||||
}
|
||||
if (body.nonBlinkingCursor != null) {
|
||||
user.ace.nonBlinkingCursor = Boolean(body.nonBlinkingCursor)
|
||||
}
|
||||
if (body.referencesSearchMode != null) {
|
||||
const mode = body.referencesSearchMode === 'simple' ? 'simple' : 'advanced'
|
||||
user.ace.referencesSearchMode = mode
|
||||
|
||||
Reference in New Issue
Block a user