Permalink
Browse files

Add a documentation for pdfjs sidebar auto-opening. See #895

  • Loading branch information...
1 parent 0fbe393 commit 33424a800a9251b232b76f9a52d578017d8eaa2f @cdujeu cdujeu committed Sep 27, 2016
Showing with 5 additions and 1 deletion.
  1. +5 −1 core/src/plugins/editor.pdfjs/plugin_doc.html
@@ -1,2 +1,6 @@
<p>PDF.JS JavaScript PDF viewer from Mozilla beautifully integrated into Pydio.</p>
-<p align="center"><img src="frame_image.png" alt="PDF Viewer"></p>
+<p align="center"><img src="editor-pdfjs.png.png" alt="PDF Viewer"></p>
+<p>If you want to have the viewer automatically open its sidebar with pages thumbnails, you have to manually apply this modification:
+ <br>line 407 in "plugins/editor.pdfjs/pdfjs/web/viewer.js", change 0 to 1 like this :
+ <br>sidebarViewOnLoad: 1,
+</p>

0 comments on commit 33424a8

Please sign in to comment.