-
Notifications
You must be signed in to change notification settings - Fork 4.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
Block-Editor: Missing DOMRect polyfill in 7.8 for IE11 #21185
Comments
Is it intentional that we're missing the vendor folder in https://github.com/WordPress/gutenberg/releases/tag/v7.8.0 ? |
The
Dissecting the build, I see it runs this command: gutenberg/bin/build-plugin-zip.sh Line 77 in 27bfa8c
Running that directly yields a more useful error:
For context, the vendor scripts are downloaded by loading the gutenberg/lib/client-assets.php Lines 651 to 659 in 27bfa8c
These were introduced in #21074 (cc @youknowriad , @ellatrix ) Ideally, I think this code should be in its own file, and only executed in the context of an action callback, not run directly as part of the top-level PHP code. As an immediate fix, it may be possible to simply add a
|
Fix: #21188 |
Noting that the https://plugins.trac.wordpress.org/changeset/2258910 It was also the case that this specific DOMRect polyfill has been missing for some time (in fact, maybe never existed at all). This was technically fixed in #20225, but the current issue with Also worth noting: This polyfill is provided with WordPress 5.4 (currently RC, scheduled for final release on Tuesday). Related: https://core.trac.wordpress.org/ticket/49360 Looking at this with @tellthemachines , I (we) am struggling to reproduce the exact issues reported, as far as errors or usability issues with the block toolbar. I can confirm that the polyfill is missing (no #21188 or an equivalent solution is still necessary, in order to allow the plugin code to run seamlessly. |
Testing Instructions
undefined
Note that this should have been fixed by #20110
but perhaps this is not being enqueued.
cc @aduth
The text was updated successfully, but these errors were encountered: