browse: Add support for pdf rendering in content view
This commit enables the rendering of pdf files in the content view through the use of the pdf.js library from Mozilla (dynamically loaded when required).
Showing
- package-lock.json 65 additions, 21 deletionspackage-lock.json
- package.json 2 additions, 0 deletionspackage.json
- swh/web/assets/config/webpack.config.development.js 10 additions, 1 deletionswh/web/assets/config/webpack.config.development.js
- swh/web/assets/src/bundles/webapp/index.js 1 addition, 0 deletionsswh/web/assets/src/bundles/webapp/index.js
- swh/web/assets/src/bundles/webapp/pdf-rendering.js 100 additions, 0 deletionsswh/web/assets/src/bundles/webapp/pdf-rendering.js
- swh/web/templates/includes/content-display.html 16 additions, 1 deletionswh/web/templates/includes/content-display.html
- yarn.lock 44 additions, 2 deletionsyarn.lock
Loading
Please register or sign in to comment