[wp-trac] [WordPress Trac] #60892: About Page: `text-wrap: balance; `adds unintended new lines in Japaneese
WordPress Trac
noreply at wordpress.org
Mon Aug 26 16:55:37 UTC 2024
#60892: About Page: `text-wrap: balance;`adds unintended new lines in Japaneese
-------------------------------------+---------------------
Reporter: wildworks | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: 6.6.2
Component: Help/About | Version: 6.5
Severity: normal | Resolution:
Keywords: needs-testing has-patch | Focuses:
-------------------------------------+---------------------
Comment (by ryelle):
Looks like this is also an issue in Korean (see
[https://github.com/WordPress/wporg-
parent-2021/issues/150#issuecomment-2283043658 related comments here]) —
and there @gonom9 suggests adding `word-break: keep-all;` to keep words
together. This works for Korean because there are spaces between words,
trying to add this to Japanese created overflow.
I think the solution in [https://github.com/WordPress/wordpress-
develop/pull/7209 PR 7209] is best for Japanese, plus a separate CSS rule
for Korean adding `word-break: keep-all;`.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/60892#comment:15>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list