Skip to content

Conversation

@iamsandeepdahiya
Copy link
Contributor

@iamsandeepdahiya iamsandeepdahiya commented Jun 13, 2025

This PR fixes an issue in gutenberg_override_style() where the handle 'wp-list-reusable-block' was incorrect. The correct handle 'wp-list-reusable-blocks' is already used in the gutenberg_override_style() call. Mismatch would prevent RTL styles from being applied correctly.

Why?

It ensures that RTL support is added to the correctly registered style handle. Without this fix, the RTL version of the stylesheet won't be loaded in right-to-left languages (like Arabic, Hebrew, etc.) because WordPress can't find the correct style to apply RTL logic to.

@github-actions
Copy link

github-actions bot commented Jun 13, 2025

The following accounts have interacted with this PR and/or linked issues. I will continue to update these lists as activity occurs. You can also manually ask me to refresh this list by adding the props-bot label.

If you're merging code through a pull request on GitHub, copy and paste the following into the bottom of the merge commit message.

Co-authored-by: iamsandeepdahiya <sandeepdahiya@git.wordpress.org>
Co-authored-by: t-hamano <wildworks@git.wordpress.org>

To understand the WordPress project's expectations around crediting contributors, please review the Contributor Attribution page in the Core Handbook.

@github-actions github-actions bot added the First-time Contributor Pull request opened by a first-time contributor to Gutenberg repository label Jun 13, 2025
@github-actions
Copy link

👋 Thanks for your first Pull Request and for helping build the future of Gutenberg and WordPress, @iamsandeepdahiya! In case you missed it, we'd love to have you join us in our Slack community.

If you want to learn more about WordPress development in general, check out the Core Handbook full of helpful information.

@iamsandeepdahiya
Copy link
Contributor Author

@t-hamano @Mamaduka Fixed what appears to be a typo. No major code changes.

Copy link
Contributor

@t-hamano t-hamano left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good catch! This style is used in the wp_block post type list, and the import button is correctly positioned now.

http://localhost:8888/wp-admin/edit.php?post_type=wp_block

Before

before

After

after

@t-hamano t-hamano added [Type] Bug An existing feature does not function as intended Gutenberg Plugin Issues or PRs related to Gutenberg Plugin management related efforts [Feature] Synced Patterns Related to synced patterns (formerly reusable blocks) No Core Sync Required Indicates that any changes do not need to be synced to WordPress Core labels Jun 16, 2025
@t-hamano
Copy link
Contributor

Note:

@t-hamano t-hamano removed the [Type] Bug An existing feature does not function as intended label Jun 16, 2025
@t-hamano t-hamano merged commit 6ff9153 into WordPress:trunk Jun 16, 2025
68 of 77 checks passed
@github-actions github-actions bot added this to the Gutenberg 21.1 milestone Jun 16, 2025
@iamsandeepdahiya iamsandeepdahiya deleted the reusable-blocks-handle branch June 16, 2025 06:02
chriszarate pushed a commit to chriszarate/gutenberg that referenced this pull request Jul 1, 2025
…70402)

Co-authored-by: iamsandeepdahiya <sandeepdahiya@git.wordpress.org>
Co-authored-by: t-hamano <wildworks@git.wordpress.org>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

[Feature] Synced Patterns Related to synced patterns (formerly reusable blocks) First-time Contributor Pull request opened by a first-time contributor to Gutenberg repository Gutenberg Plugin Issues or PRs related to Gutenberg Plugin management related efforts No Core Sync Required Indicates that any changes do not need to be synced to WordPress Core

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants