1
0
mirror of https://github.com/laurent22/joplin.git synced 2025-01-02 12:47:41 +02:00
joplin/packages/pdf-viewer
2023-04-26 21:45:02 +01:00
..
config
hooks Tools: Enable eslint rule "comma-spacing" 2023-01-11 18:40:14 +00:00
ui Tools: Enable eslint rule "comma-spacing" 2023-01-11 18:40:14 +00:00
.gitignore
common.css
fullScreen.css
FullViewer.tsx Desktop: Remove unnecessary PDF viewer messages 2022-10-26 16:04:08 +01:00
index.html Desktop: Remove unnecessary PDF viewer messages 2022-10-26 16:04:08 +01:00
jest.config.js
main.tsx Chore: Fix warning in PDF Viewer 2022-11-28 18:21:41 +01:00
messageService.ts
miniViewer.css
miniViewer.tsx Desktop: Remove unnecessary PDF viewer messages 2022-10-26 16:04:08 +01:00
package.json Desktop: Resolves #8028: Remove custom PDF viewer to reduce application size 2023-04-26 21:45:02 +01:00
Page.tsx
PdfDocument.ts Chore: Complete pdf-js update 2022-11-15 11:39:51 +00:00
pdfSource.test.ts Tools: Add more eslint/jest rules 2023-03-09 17:50:56 +00:00
README.md
textLayer.css
tsconfig.json
types.ts
VerticalPages.tsx Desktop: Remove unnecessary PDF viewer messages 2022-10-26 16:04:08 +01:00
webpack.config.js

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.