1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-09-06 01:12:03 +00:00

Pdf viewer (#5574)

* [pdf viewer] use the latest PDFjs(v3.8.162)

* [pdf viewer] redesigned it: added side panel(thumbnail panel) and bottom bar(includes side panel toggle, 'file page manager', and 'zoom manager')

* [pdf file view] added 'print' to the top-right toolbar
This commit is contained in:
llj
2023-08-09 18:54:58 +08:00
committed by GitHub
parent 780ea56662
commit 542e54ad05
190 changed files with 90909 additions and 12404 deletions

View File

@@ -10,7 +10,7 @@ const { err } = window.shared.pageOptions;
class SharedFileViewPDF extends React.Component {
render() {
return <SharedFileView content={<FileContent />} />;
return <SharedFileView content={<FileContent />} fileType="pdf" />;
}
}