Gutenberg PDF Viewer Block

Description

A simple, responsive and 100% free Gutenberg Block to display PDF Viewers / Readers on your website.

You can easily configure the Reader’s width, height and alignment on the fly.

Compatibility:
– Fully responsive
– Works fine on Chrome, Firefox, Opera, Edge and IE11
– If javascript is disabled, a download link is provided as a fallback

This plugin uses PDF.js library, provided by Mozilla under Apache license.

Screenshots

  • Adding "PDF Viewer" Gutenberg Block on my Post.
  • Selecting/Uploading a PDF document.
  • Basic front-end rendering.
  • Selecting alignement for my PDF Reader.
  • Applying custom width and height.
  • "PDF Viewer" variations showcase.
  • Front-end rendering for the selected variations.

Blocks

This plugin provides 1 block.

pdf-viewer-block/standard
Gutenberg PDF Viewer Block

Installation

  1. Install the plugin and activate.
  2. No settings page: just enjoy your new Gutenberg block! It’s available in Embeds > PDF Viewer.

Reviews

December 12, 2019
This plugin does EXACTLY what I was wanting to do in terms of displaying PDF documents on my site, and I was willing to switch from the "classic" editor to Gutenberg because of it. Keep up the good work!
October 6, 2019
This plugin is currently the best way to embed PDFs into posts/ pages etc. It has a simple block which just works. The only thing I'd say is that it'd be nice if it also displayed the embedded PDFs in the edit view too (like this one does https://wordpress.org/plugins/embed-pdf-viewer/ but that one also has an issue, see https://wordpress.org/support/topic/uploading-from-within-block-doesnt-work/ ) (that issue now resolved so given that plugin 5 stars and downgraded this to 4 stars to reflect the fact Embed PDF viewer is not my favourite plugin for doing this) Actually, this plugin works a lot better on mobiles than Embed PDF viewer, and so this my favourite again so upped this back to 5 stars 🙂 I'd still like to see the PDF embed in edit view in this plugin too though.
Read all 3 reviews

Contributors & Developers

“Gutenberg PDF Viewer Block” is open source software. The following people have contributed to this plugin.

Contributors

“Gutenberg PDF Viewer Block” has been translated into 2 locales. Thank you to the translators for their contributions.

Translate “Gutenberg PDF Viewer Block” into your language.

Interested in development?

Browse the code, check out the SVN repository, or subscribe to the development log by RSS.

Changelog

0.1

  • Plugin initial commit. Works fine 🙂