-
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
Menu: Truncation breaks with break-all rather than break-word #66998
Comments
CC: @WordPress/gutenberg-components in case this resonates! |
Hi @jasmussen, Thank you for raising this issue! Could you please provide the steps to reproduce it? That would be really helpful. |
Try this code in your functions.php:
Then create a new post of the "Landmark" type, then edit that post and click attributes, and open the content flyout. |
Thank you, @jasmussen, for providing the code snippet. I was able to replicate the issue, and the patch in PR #67011 effectively resolves it. The break-word property now shifts the entire word to a new line, as shown in the "After" screenshot. I tested the solution, and it works as expected. ✅
|
Nice, thanks for the contribution! |
Tweaking the issue title since this is a characteristic of the |
Example:
Shown here, the following description breaks inside block attributes due to truncation using break-all instead of break-word:
Suggestion: use
break-word
instead.The text was updated successfully, but these errors were encountered: