-
Notifications
You must be signed in to change notification settings - Fork 4.3k
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
[Block] File: Embedded PDF fails to render #55493
Comments
Test ReportI am able to reproduce this issue. Removing Also noteworthy: With GB deactivated, WP 6.4-beta/RC and Environment
Actual Results
|
Is this happening again? I have this exact problem on Version 17.4.1 Safari desktop, and WordPress 6.5.3. Only on safari desktop, and toggling the PDF "Show inline embed " OFF fixes the problem. |
I've since updated to Safari 17.5 and cannot reproduce the frontend inline embed issue (testing 6.5.3/trunk with GB on/off). HOWEVER, there is still a rendering issue in the editor after toggling "Show inline embed" off and back on (as noted in #55493 (comment) above). Since the originally reported issue and patch focused on the frontend, I've opened a separate ticket that focuses on the backend behavior, #62120. |
Hi, @annezazu 👋🏻 I confirmed that in Playground, the embed isn't showing up as you've reported. This looks like that might be related to WordPress/wordpress-playground#1314, where the iframe with the embed is blocked by Chrome and Safari. However, for a fresh local install of 6.6.2 w/ and w/o Gutenberg, the PDF does appear for me in the editor and front end: Should this be closed back up? |
Amazing sleuthing. Foiled again by Playground. Yes, closing! |
Description
Embedded PDF files fail to render in Safari Version 17.0 when using Gutenberg 16.7.0 and higher. GB 16.6.0 works as expected.
Step-by-step reproduction instructions
Screenshots, screen recording, code snippet
Comparing GB 16.6.0 and GB 16.8.1 in Firefox (left) and Safari (right)
Screen.Capture.on.2023-10-19.at.11-32-40.mp4
GB 16.6.0
GB 16.7.0 and up
Safari failure to reload
I also find if I leave the page long enough, the page fails to reload, and I have trouble viewing anything in the browser console:
Environment info
Please confirm that you have searched existing issues in the repo.
Yes
Please confirm that you have tested with all plugins deactivated except Gutenberg.
Yes
The text was updated successfully, but these errors were encountered: