Here's a sample of the config code attached, it's not finish yet but "save annotation" "insert blank page" and "delete page" buttons (in the top left of the control bar) should work.

Here's a screenshot that I deleted the first page of the document (with the custom minus button on the top control bar). You can see the first page displayed in the main view is correct but in the thumbnail view it shows still the original page. Btw, mind the scroll bar in the right, it's not at top, if you drag it to the top, it will show the deleted page. But if you download the file or change the layout mode, you can see the first page was actually deleted.

I added a blank page at the end of the document (with the "right arrow" button in the dropdown menu under the custom "plus" button), this time the thumbnail view refreshed but not the main view. No matter I click the thumbnail or the "next page" button, I can't see the second page.
As for annotation problem, perhaps it was my mistake cuz i can't repruduce it anymore. I think i might not save the annotations before adding pages.
You can see i'm also trying to make "sort" functions, should I use a combination of add and delete page or there's an individual api?
在 2016年7月21日星期四 UTC+2下午10:15:08,Matt Parizeau写道: