mirror of
https://github.com/zen-browser/pdf.js.git
synced 2025-07-08 17:30:09 +02:00
[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:
parent
493bb65005
commit
3e8394ee33
5 changed files with 16 additions and 13 deletions
|
@ -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: {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue