mirror of
https://github.com/zen-browser/pdf.js.git
synced 2025-07-10 02:05:37 +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
|
@ -585,11 +585,12 @@ const PDFViewerApplication = {
|
|||
appConfig.annotationEditorParams,
|
||||
eventBus
|
||||
);
|
||||
} else {
|
||||
for (const element of [
|
||||
document.getElementById("editorModeButtons"),
|
||||
document.getElementById("editorModeSeparator"),
|
||||
]) {
|
||||
element.classList.remove("hidden");
|
||||
element.hidden = true;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue