-
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
Site Editor: fix loading order on Dotcom after 8.9.0 update #45360
Conversation
Caution: This PR affects files in the Editing Toolkit Plugin on WordPress.com D48970-code has been created so you can easily test it on your sandbox. See this FieldGuide page about developing the Editing Toolkit Plugin for more info: PCYsg-ly5-p2 |
This PR does not affect the size of JS and CSS bundles shipped to the user's browser. Generated by performance advisor bot at iscalypsofastyet.com. |
I've applied the patch and sandboxed a site with In the front end I see dozens of these errors:
While the Site Editor (
|
@Copons I think this is a separate issue unrelated to loading order. I tried reverting the relevant Gutenberg loading change on a sandbox and edge stickered site and it's still happening. |
You're right. |
There are probably multiple issues. 😕 |
Looking into this now. If anyone else is investigating as well, I'd love to hop on a video call together. :) |
This is fixed by WordPress/gutenberg#24677, which is included in the final v8.9.0 (but wasn't in the Release Candidate). Edit: We've now updated Edge to v8.9.0, so those errors should be gone now. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Approving this change as it does seem to fix the issue with when this is executed. The other issues seem like they may be a separate task.
Looking at the other issue further, I seem to have one site that is loading perfectly fine after this change and another that is going into the site editor and never fully loading. Same errors on each 🤷♀️
Thanks @Addison-Stavlo, I'll merge this for now and we can continue looking into further errors. |
Changes proposed in this Pull Request
Fixes the broken site editor on Dotcom by making sure that experiment option is
overridden on time.
Testing instructions