Ensure that ol_extensions_writefull Sentry tag is defined (#17366)

GitOrigin-RevId: c1261f780e439852b9a59d8d8a2022c30ff354e1
This commit is contained in:
Alf Eaton 2024-03-07 10:41:13 +00:00 committed by Copybot
parent 0d3c80f1ae
commit 55da43a6ce

View file

@ -267,8 +267,8 @@ function useCodeMirrorScope(view: EditorView) {
ol_editor_mode: visualRef.current.visual ? 'visual' : 'code',
// which editor keybindings are active ('default' | 'vim' | 'emacs')
ol_editor_keybindings: settingsRef.current.mode,
// whether Writefull is present ('extension' | 'integration')
ol_extensions_writefull: window.writefull?.type,
// whether Writefull is present ('extension' | 'integration' | 'none')
ol_extensions_writefull: window.writefull?.type ?? 'none',
// whether Grammarly is present
ol_extensions_grammarly: grammarlyExtensionPresent(),
},