Implement caret browsing mode (bug 807730)

The users will be able to navigate within the pdf in using the arrows
and they'll be able to select some text, for example in order to
highlight it.
This commit is contained in:
Calixte Denizet 2024-02-01 16:08:40 +01:00
parent af4d2fa53c
commit 81466ee039
5 changed files with 486 additions and 0 deletions

View file

@ -64,6 +64,11 @@ const defaultOptions = {
value: false,
kind: OptionKind.BROWSER,
},
supportsCaretBrowsingMode: {
/** @type {boolean} */
value: false,
kind: OptionKind.BROWSER,
},
supportsDocumentFonts: {
/** @type {boolean} */
value: true,