The doc.loadPage(0) call leads to the following exceptions/warnings:
mupdf-wasm.js:1550 warning: Document claims to have 62 pages, but only has 61.
mupdf-wasm.js:1550 argument error: Can't alter an object other than in an operation
mupdf-wasm.js:1550 warning: Page tree load failed. Falling back to slow lookup
The page number is correct, but hasUnsavedChanges still returns true, and no exceptions should be thrown.
Hi, first of all, thank you for this great library - I'm currently experimenting with the journal and it is not working as expected.
This is what I am trying:
If I then try to load a page (
doc.loadPage(0)
) I get the following exception.Furthermore, after the undo call the number of pages should be 62 again and hasUnsavedChanges should return false.
Here is another example:
The doc.loadPage(0) call leads to the following exceptions/warnings:
The page number is correct, but hasUnsavedChanges still returns true, and no exceptions should be thrown.