[api-major] Enable editing by default

Note that this patch *at least* shouldn't land until both [bug 1784272](https://bugzilla.mozilla.org/show_bug.cgi?id=1784272) and [bug 1785248](https://bugzilla.mozilla.org/show_bug.cgi?id=1785248) are fixed.
This commit is contained in:
Jonas Jenwald 2022-08-21 13:48:48 +02:00
parent 493bb65005
commit 3e8394ee33
5 changed files with 16 additions and 13 deletions

View file

@ -54,11 +54,8 @@ const OptionKind = {
*/
const defaultOptions = {
annotationEditorMode: {
/** @type {boolean} */
value:
typeof PDFJSDev === "undefined" || PDFJSDev.test("!PRODUCTION || TESTING")
? 0
: -1,
/** @type {number} */
value: 0,
kind: OptionKind.VIEWER + OptionKind.PREFERENCE,
},
annotationMode: {