-
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
Temporarily Disable Font Library Editor UI outside of Gutenberg Plugin #58613
Conversation
Size Change: 0 B Total Size: 1.7 MB ℹ️ View Unchanged
|
Flaky tests detected in d82f173. 🔍 Workflow run URL: https://github.com/WordPress/gutenberg/actions/runs/7756225277
|
I think @hellofromtonya is better qualified to answer this question. Tagging for more visibility. |
When are the site editor packages begin updated in Core? I think this PR is only needed if the Font REST API controllers aren't able to be merged before the package updates that would turn on the Font Library in Core. |
As @creativecoder points out, this PR is necessary IF:
|
The package update actually already happened and on Core trunk, the font library is already broken. So it's either:
At this point, it seems that the first option is the one we're going with. I don't see us not merging the REST API PR. |
Yes. Luckily once the Core PRs were up it proved relatively simple to get them merged so we didn't have that long with a broken experience on WP Core trunk. Thanks for input folks. |
What?
Disables Font Library within the editor outside of the Gutenberg Plugin.
Why?
The "view" code for the Font Library within the editor will be included in WP Core. However, the PHP code which supports this is going to be merge incrementally. Therefore we should temporarily disable the UI until the PHP code is fully landed in Core for the WP 6.5 Beta.
How?
Sets the editor setting conditionally based on whether we are running in the Gutenberg Plugin.
Testing Instructions
packages/editor/src/store/defaults.js
Testing Instructions for Keyboard
Screenshots or screencast