Wordpress services, tutorials and news

Embed PDF Gutenberg block

The Embed PDF Viewer plugin is a custom Gutenberg block that helps you embed a PDF from the Media Library or elsewhere via oEmbed or as a block into an object tag or Google Doc Viewer as fallback.

 

It’s very simple to use. After you install and activate the Embed PDF Viewer plugin you click on the + sign to add a new Gutenberg block and search forn PDF

The new PDF block allows you to insert a PDF file by uploading, select a previously uploaded PDF file from the Media Library or insert a PDF from an URL

On the right panel you have access to the very basic Embed PDF Viewer settings: Long Description used for title tag and accessibility, width and height:

However, the plugin doesn’t seem to work on Iphone (the PDF is not displayed) so it has a limited usage, although the idea seems cool.

Related Posts

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.

%d bloggers like this: