Opened 8 years ago
Closed 8 years ago
#45330 closed defect (bug) (fixed)
Gutenberg editor with hebrew language does not render correctly.
| Reported by: | websupporter | Owned by: | SergeyBiryukov |
|---|---|---|---|
| Priority: | normal | Milestone: | 5.0 |
| Component: | Editor | Version: | 5.0 |
| Severity: | normal | Keywords: | has-patch fixed-5.0 |
| Cc: | Focuses: |
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
@
8 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_
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
When
SCRIPT_DEBUGis set totruethis 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.