Merge pull request #13227 from overleaf/td-history-keyboard-scroll-diff-viewer

History migration: Add tabindex to document diff viewer to allow keyboard scrolling

GitOrigin-RevId: 95a0be27fa710a4f81e5944432b6b108e529634f
This commit is contained in:
Tim Down
2023-07-17 10:23:42 +00:00
committed by Copybot
parent 3f607d33dc
commit 9cbe4efc07
@@ -24,6 +24,7 @@ import { inlineBackground } from '../../../source-editor/extensions/inline-backg
function extensions(): Extension[] {
return [
EditorView.editable.of(false),
EditorView.contentAttributes.of({ tabindex: '0' }),
lineNumbers(),
EditorView.lineWrapping,
indentUnit.of(' '), // TODO: Vary this by file type