Skip to content
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

Error in console (Editor) wp-reset-editor-styles-rtl-css was added to the iframe incorrectly. #65137

Closed
2 tasks done
realthemes opened this issue Sep 8, 2024 · 0 comments · Fixed by #65150
Closed
2 tasks done
Assignees
Labels
[Package] Block editor /packages/block-editor [Status] In Progress Tracking issues with work in progress [Type] Bug An existing feature does not function as intended

Comments

@realthemes
Copy link

realthemes commented Sep 8, 2024

Description

When you switch to an RTL (right-to-left) language in Settings > General > Site Language, the console (Editor) starts to show the following error:

index.js:177 wp-reset-editor-styles-rtl-css was added to the iframe incorrectly. Please use block.json or enqueue_block_assets to add styles to the iframe.

Step-by-step reproduction instructions

  1. Set language to RTL language
  2. Look inside console in Editor

Screenshots, screen recording, code snippet

Screenshot 2024-09-08 082726

Environment info

WordPress 6.6.1, Guttenberg 19.1.0, My custom block theme, Windows 11, Microsoft Edge

Please confirm that you have searched existing issues in the repo.

  • Yes

Please confirm that you have tested with all plugins deactivated except Gutenberg.

  • Yes
@realthemes realthemes added the [Type] Bug An existing feature does not function as intended label Sep 8, 2024
@Mamaduka Mamaduka added [Package] Editor /packages/editor [Package] Block editor /packages/block-editor and removed [Package] Editor /packages/editor labels Sep 9, 2024
@github-actions github-actions bot added the [Status] In Progress Tracking issues with work in progress label Sep 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Package] Block editor /packages/block-editor [Status] In Progress Tracking issues with work in progress [Type] Bug An existing feature does not function as intended
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants