1
0
mirror of https://github.com/laurent22/joplin.git synced 2024-12-03 08:35:29 +02:00
joplin/packages/pdf-viewer
2022-09-30 17:01:55 +01:00
..
config
hooks Desktop: Add PDF full screen viewer (#6821) 2022-09-11 14:58:32 +01:00
ui Desktop: Add PDF full screen viewer (#6821) 2022-09-11 14:58:32 +01:00
.gitignore
common.css Desktop: Remove page number box from new PDF Viewer (#6846) 2022-09-30 17:01:55 +01:00
fullScreen.css Desktop: Add PDF full screen viewer (#6821) 2022-09-11 14:58:32 +01:00
FullViewer.tsx Desktop: Add PDF full screen viewer (#6821) 2022-09-11 14:58:32 +01:00
index.html
jest.config.js
main.tsx Desktop: Add PDF full screen viewer (#6821) 2022-09-11 14:58:32 +01:00
messageService.ts Desktop: Add PDF full screen viewer (#6821) 2022-09-11 14:58:32 +01:00
miniViewer.css Desktop: Added PDF viewer options (#6800) 2022-09-05 12:35:38 +01:00
miniViewer.tsx Desktop: Add PDF full screen viewer (#6821) 2022-09-11 14:58:32 +01:00
package-lock.json
package.json Desktop: Add PDF full screen viewer (#6821) 2022-09-11 14:58:32 +01:00
Page.tsx Desktop: Fix pdf text blurry (#6843) 2022-09-12 16:07:39 +01:00
PdfDocument.ts Desktop: Fix pdf text blurry (#6843) 2022-09-12 16:07:39 +01:00
pdfSource.test.ts Desktop: Added PDF viewer options (#6800) 2022-09-05 12:35:38 +01:00
README.md Tools: Fix desktop build performance issue (#6762) 2022-08-19 19:10:39 +01:00
textLayer.css Desktop: Add PDF full screen viewer (#6821) 2022-09-11 14:58:32 +01:00
tsconfig.json
types.ts Desktop: Add PDF full screen viewer (#6821) 2022-09-11 14:58:32 +01:00
VerticalPages.tsx Desktop: Add PDF full screen viewer (#6821) 2022-09-11 14:58:32 +01:00
webpack.config.js Desktop: PDF scroll persistence (#6747) 2022-08-27 13:32:20 +01:00

PDF VIEWER

A custom built PDF viewer for Joplin's use. The viewer is designed to be rendered in an iframe. This package produces the build files in /dist folder.

Installation & Usage

From root of the project:

yarn install

This step will also run yarn build and build the viewer on post-install and populate the /dist folder. We are using weback for build process.

When working on the viewer, after code updates you need to rebuild the viewer:

yarn build

Alternatively, you can use yarn watch to rebuild automatically on code changes.

yarn watch

The build process of app-desktop takes care of copying the content of /dist and the root html file to appropriate location.