-
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
Update and restructure the Editor Hooks doc. #61596
Conversation
The following accounts have interacted with this PR and/or linked issues. I will continue to update these lists as activity occurs. You can also manually ask me to refresh this list by adding the If you're merging code through a pull request on GitHub, copy and paste the following into the bottom of the merge commit message.
To understand the WordPress project's expectations around crediting contributors, please review the Contributor Attribution page in the Core Handbook. |
Would it make sense to create an example at block-development-examples with all these restrictions/enhancements and provide a link to it so these code examples can be seen in action? If you agree, for the sake of this PR, it would be enough to create the issue for this new example. |
Flaky tests detected in fce61ce. 🔍 Workflow run URL: https://github.com/WordPress/gutenberg/actions/runs/9095300664
|
What?
This PR updates the Editor Hooks doc and does a bit of restructuring.
Why?
In my work to update/enhance the Curating the Editor Experience documentation, I have been identifying other areas of the documentation that are related and need updating. This Editor Hooks doc could use more examples and some restructuring. I updated it to place greater emphasis on
block_editor_settings_all
and a few additional examples of how to use the hook. Rather than completely recreate these examples in the Curating the Editor Experience section, it's better to improve the source doc and then link to it.I would consider this PR a "first pass". There is probably a lot more we can add to the Editor Hooks doc.