-
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
RichText Editor core/underline missing #47484
Comments
Hi @aceArt-GmbH, |
okay, if this is intentional it should at least be documented somewhere in the RichText documentation with a way to re-enable it if someone wants it. |
The first underline button was removed in WordPress 4.7, before Gutenberg was introduced. This article states that it was removed due to accessibility issues. I think it would be inappropriate to dare to document how to enable this. If there are developers who want to enable this, I think they can implement it with reference to Formatting Toolbar API. @ellatrix |
Just checking in on this issue - to see if there's anything we need to discuss/decide and action - or if it can be closed? |
@jordesign Thanks for digging up this issue. As I have commented several times on this issue, I believe the removal of the Developers who really want to add that button could look at the Formatting Toolbar API documentation and implement it, and I don't think we should put a deprecated method on the site. I would like to close this issue, but if you have any suggestions feel free to comment. |
Description
<RichText />
should allow underlining text.There is code for it in this repo https://github.com/WordPress/gutenberg/tree/trunk/packages/format-library/src/underline.
But it does not show up as option
Step-by-step reproduction instructions
npx @wordpress/create-block starter-block
cd starter-block
wp-env start
npm start
Screenshots, screen recording, code snippet
Workaround:
Environment info
"@wordpress/scripts": "^25.2.0"
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
The text was updated successfully, but these errors were encountered: