-
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
FSE: G7.2.0 - replace legacy editor- classes with block-editor- #39035
Conversation
Here is how your PR affects size of JS and CSS bundles shipped to the user's browser: App Entrypoints (~116914 bytes removed 📉 [gzipped])
Common code that is always downloaded and parsed every time the app is loaded, no matter which route is used. Sections (~89168 bytes removed 📉 [gzipped])
Sections contain code specific for a given set of routes. Is downloaded and parsed only when a particular route is navigated to. Async-loaded Components (~11750 bytes removed 📉 [gzipped])
React components that are loaded lazily, when a certain part of UI is displayed for the first time. Legend What is parsed and gzip size?Parsed Size: Uncompressed size of the JS and CSS files. This much code needs to be parsed and stored in memory. Generated by performance advisor bot at iscalypsofastyet.com. |
I merged in master to avoid fixing conflicts so much for the rebase |
Well, apparently that didn't work for some reason. |
Since I've totally messed this up, I'm creating a new PR: #39157 |
Closing in favour of #39157 |
I added some comments on bfc2e8b to explain why some of the things weren't copied over |
* Previous art at #39035 * Fix writing flow style * Hide contextual toolbar for templates again * Remove block border UI * Target new element in template editor In a recent Gutenberg update, the div structure has changed around the blockList. Therefore, we need to update this selector to reference the new structure. Otherwise, the classNames were applied to a div which is not actually a parent of the elements we ultimately want to change.
@chriskmnds Just a heads up that I've done an audit of everything in the FSE plugin (minus the newspack posts block) and all cases where we used the old selectors should be fixed |
Thanks for keeping this PR and myself informed @noahtallen ! Good job on investigating things. |
Changes proposed in this Pull Request
Gutenberg 7.2.0 & 7.3.0 removed legacy
editor-
classes in WordPress/gutenberg#19050 and WordPress/gutenberg#19489. This PR updates references to any legacy classes found in the FSE app.Testing instructions
Not tested yet.
CC @Automattic/cylon