Opened 6 years ago
Closed 6 years ago
#45330 closed defect (bug) (fixed)
Gutenberg editor with hebrew language does not render correctly.
Reported by: | websupporter | Owned by: | SergeyBiryukov |
---|---|---|---|
Milestone: | 5.0 | Priority: | normal |
Severity: | normal | Version: | 5.0 |
Component: | Editor | Keywords: | has-patch fixed-5.0 |
Focuses: | Cc: |
Description
I switched to a RTL language to test a bit. When I open the settings, the settings are rendered on the right side and destroy basically the view.
https://i.postimg.cc/1XH1p4MV/hebrew-bug.gif
This happens on WordPress 5.0-beta3-43883 but not with WordPress 4.9.8 and the plugin activated.
Attachments (2)
Change History (9)
#2
@
6 years ago
This patch adds a new grunt job cssmin:dist
which runs after webpack:devProdTarget
, so we minify the styles, which come from the packages.
In the second step, this patch adds the $suffix
to the path to the styles. This way we have the .min.css
.
This now can be replaced by rtl.min.css
in the _wp-admin/load-styles.php_
Note: See
TracTickets for help on using
tickets.
When
SCRIPT_DEBUG
is set totrue
this error does not occur.If I understand this correctly, the wp-admin/load-styles.php replaces RTL only for minified scripts:
`
`
But there are no minified styles yet in the whole wp-includes/css/dist folder. So I think basically adding those will solve the issue.