Image
Image

Bloque de visor PDF para Gutenberg

Descripción

Un bloque Gutenberg sencillo y 100% gratuito para mostrar visores / lectores de archivos PDF en tu página web.

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

Este plugin utiliza la librería PDF.js, proporcionada por Mozilla bajo la licencia Apache.

Capturas de pantalla

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

Bloques

Este plugin proporciona 1 bloque.

  • PDF Viewer A block to embed a PDF Viewer.

Instalación

  1. Instala el plugin y actívalo.
  2. Sin página de ajustes: ¡Solo disfruta tu nuevo bloque de Gutenberg!. Disponible como incrustador o visor de archivos PDF.

Reseñas

Image
8 de Junio de 2025
It works without any problems on smartphones. It’s great that it’s highly functional yet simple and easy to use.However, if I may be greedy, I would like to be able to set default values ​​for height, etc. in the plugin settings screen.Also, I would like to be able to check the media file names of blocks embedded within blocks.
Image
24 de Junio de 2021
Very easy to install and to use. No need to configure anything. And it works out of the box.
Image
23 de Marzo de 2021
A great block for PDF display but the block is incompatible with the current Microsoft edge browser and returns a false phishing warning page instead of PDF content. Works great in current Chrome browser. Will update to 5 stars when Edge is again supported properly.
Image
17 de Abril de 2020
El mejor visor de pdf con todas las opciones incorporadas, responsive , un bloque muy sencillo de usar que no defrauda.
Leer los 9 comentarios

Colaboradores & Desarrolladores

“Bloque de visor PDF para Gutenberg” es software de código abierto. Las siguientes personas han contribuido a este plugin.

Colaboradores

“Bloque de visor PDF para Gutenberg” ha sido traducido en 5 idiomas. Gracias a los traductores por sus contribuciones.

Traduce “Bloque de visor PDF para Gutenberg” a tu idioma.

¿Interesado en el desarrollo?

Revisa el código, echa un vistazo al repositorio SVN, o suscríbete al registro de desarrollo por RSS .

Historial de cambios

1.1

  • Performances: Enqueue admin assets only when showing the block editor screen.

1.0.1

  • Fix XSS security vulnerability. Thanks @wpscan who responsively disclosed the issue.

1.0

  • Enqueue scripts and styles only when the block is displayed for better performance and Google Core Web Vitals compliance.

0.2

  • Declare support for WordPress 5.5 and Block Directory.

0.1

  • Plugin initial commit. Works fine 🙂