-
Notifications
You must be signed in to change notification settings - Fork 2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
File block: PDF preview not rendering in website preview #52992
Comments
I had this same issue. Test post: https://melissasgutenbergteststuff.blog/about/ The File Block is not embedding the PDF and instead shows just a link and download button. |
Looks like this might be a duplicate of #52728? |
@mrfoxtalbot Can you confirm this is the same issue? The issue you linked mentions Safari specifically and is about loading in the editor, not the front end |
Another report here: |
@mrfoxtalbot The initial issues reported are all different and the titles, though the comments seem to indicate the same issue. Both of those issues linked mention just the editor in the initial report but this one is about the front-end of the site, where this should be showing as an embedded PDF. If whatever issue is left open can be updated to indicate the current problem, then these others can be closed as duplicates. |
I see that's mentioned in #52728 so I'll close this one again 👍 |
When I upload PDF doc to the File block, it automatically generates preview in the editor, but when I save or publish the page, the preview is not there.
This might be related to #52743
Steps to reproduce the behavior
Editor view:
Site preview:
What I expected to happen
To be able to see the PDF preview when viewing the post/page.
What actually happened
Only the download link and button are being displayed.
Browser / OS version
Chrome 90, Safari / macOS 11.3
The text was updated successfully, but these errors were encountered: