Opened 8 years ago
Closed 8 years ago
#45288 closed defect (bug) (fixed)
Block Editor: check style-editor-rtl.css in RTL languages
| Reported by: | mostafa.s1990 | Owned by: | youknowriad |
|---|---|---|---|
| Priority: | normal | Milestone: | 5.0 |
| Component: | Editor | Version: | 5.0 |
| Severity: | major | Keywords: | has-patch fixed-5.0 |
| Cc: | Focuses: | rtl |
Description
Keep in mind that all our themes don't have the style-editor-rtl.css file! Because the new version gives the following error.
PHP Warning: file_get_contents(beta/wp-content/themes/twentynineteen/style-editor-rtl.css): failed to open stream: No such file or directory in beta\wp-admin\edit-form-blocks.php on line 204
Attachments (2)
Change History (13)
#4
@
8 years ago
- Milestone 5.0 → 5.0.1
I'm punting this for now. We can reconsider if we have more information.
#5
@
8 years ago
- Milestone 5.0.1 → 5.0
Moving back to 5.0.0 as it seems it happens in all themes with Gutenberg support in RTL languages.
#6
@
8 years ago
- Keywords needs-testing removed
Patch was valid thanks @mostafa.s1990 I updated it with a slightly simpler version. Should be good to go.
#7
@
8 years ago
I created this Gutenberg issue to backport it into the plugin https://github.com/WordPress/gutenberg/issues/12196
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
Do you have an exemple of theme causing this, to check properly? as the logic seems to apply only when there's a defined editor style. And also the editor styles is opt-in, so this won't break any existing them unless they opt-in.