-
Notifications
You must be signed in to change notification settings - Fork 4.5k
Description
Description
Note: This issue is copy from Documentation-issue-Tracker repository #1900, originally reported by @hiteshtalpada.
Issue Description
The documentation for the RichTextToolbarButton component is missing and the current link leads to a 404 error page. Additionally, this component has been deprecated since WordPress 5.3 and should now be accessed via wp.blockEditor.RichTextToolbarButton, but the Format API guide does not mention this change.
URL of the Page with the Issue
https://developer.wordpress.org/block-editor/how-to-guides/format-api/
Section of Page with the issue
The section referencing RichTextToolbarButton, where developers are guided to use this component when creating custom formats. The broken link currently points to:
https://developer.wordpress.org/block-editor/reference-guide/packages/packages-block-editor/src/components/rich-text/
https://tinyurl.com/24ktxyjm
Why is this a problem?
The link to the component documentation returns a 404 page.
The component is deprecated, but this is not mentioned in the guide.
Developers are left without accurate information about how to use or import RichTextToolbarButton.
This causes confusion when following the Format API documentation and may lead to incorrect implementation.
Suggested Fix
Add a note to the Format API guide explaining that RichTextToolbarButton is deprecated since WordPress 5.3.
Step-by-step reproduction instructions
N/A
Screenshots, screen recording, code snippet
No response
Environment info
No response
Please confirm that you have searched existing issues in the repo.
- Yes
Please confirm that you have tested with all plugins deactivated except Gutenberg.
- Yes
Please confirm which theme type you used for testing.
- Block
- Classic
- Hybrid (e.g. classic with theme.json)
- Not sure