mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-21 20:47:08 -05:00
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:
parent
6d4d643fd9
commit
f57c87a2a8
1 changed files with 1 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue