Some of you may already know or use Silverbullet PDF, but I updated it lately. It now supports viewing and annotating with all the power of the pdf.js viewer (the one Firefox also uses). Saving is done automatically, but you can also print or save to disk from the viewer.
If you are also using Silversearch, you will also be able to search through the text content of PDF files, automatically (If you are just installing Silverbullet PDF, you may need to run Silversearch: Reindex).
Ah, ok you either need the edge release of Silverbullet, which I think is the v2 tag for the docker image, or wait till a new release drops. I don’t know when @zef plans the next release.
It works well on chrome based browsers but I’m running into a bug in safari (iOS and macOS).
The error message:
Failed to navigate: undefined is not an object (evaluating ‘this.iframe.contentWindow.silverbullet.dispatchEvent’)
I think this has to do with the iframe setup and safari being stricter than chrome, which results in window.silverbullet being undefined when initializing the viewer. I’m not sure how to solve the problem though.
Itgghhhhhh Urrghghghhgh, I guess the change I made to the way document editors are built in SB doesn’t really work for safari, because it handles the contentWindow differently during load. Unsure how I will solve this … I’ll have to see.