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

Adding RTL<>LTR button to all Gutenberg blocks #26608

Open
dirad opened this issue Oct 30, 2020 · 8 comments
Open

Adding RTL<>LTR button to all Gutenberg blocks #26608

dirad opened this issue Oct 30, 2020 · 8 comments
Labels
[Feature] Blocks Overall functionality of blocks Internationalization (i18n) Issues or PRs related to internationalization efforts Needs Dev Ready for, and needs developer efforts [Type] Enhancement A suggestion for improvement.

Comments

@dirad
Copy link

dirad commented Oct 30, 2020

Continuing from 138

When writing any RTL content in a LTR locale system, it is impossible to get a proper behavior.
The direction button is missing unless the locale for the whole install is set to RTL, but it really should be available always. Or at least having a setting for it.

I would appreciate applying PR 10663 on all systems and not only LTR, or have some setting either in the admin interface or with a hook or other PHP that could go in a theme or plugin, to be able to enable this button.

My current workaround is to convert a block to HTML, write some invalid code, then convert to classic editor [could not find a way to bring it up otherwise], and if writing there and aligning right, the directional control is better.

@dirad dirad changed the title Adding RTL<>LTR button to any Gutenberg block Adding RTL<>LTR button to all Gutenberg blocks Oct 31, 2020
@annezazu annezazu added [Feature] Blocks Overall functionality of blocks [Type] Enhancement A suggestion for improvement. Internationalization (i18n) Issues or PRs related to internationalization efforts Needs Technical Feedback Needs testing from a developer perspective. labels Nov 4, 2020
@noisysocks
Copy link
Member

Also requested in https://core.trac.wordpress.org/ticket/48911.

@urShadoww
Copy link

Have been waiting for the solution since Gutenberg launched.

@oussjarrousse
Copy link

Is there a wordpress plugin that adds this functionality to Gutenberg?

@youknowriad
Copy link
Contributor

I think now with the block supports, we could attempt to build this as a new block support in order to quickly enable for several blocks.

@youknowriad
Copy link
Contributor

Anyone wants to give this a try?

@youknowriad youknowriad added Needs Dev Ready for, and needs developer efforts and removed Needs Technical Feedback Needs testing from a developer perspective. labels Jun 10, 2021
@supernovia
Copy link

I found this because I thought we already had LTR for sites that have RTL by default, but that seems to have gone missing again:
#28221

I'd love to see this option in all text blocks sooner than later!

@itsalljustaride
Copy link

Cosigning this. We work with many international constituents who need this functionality in sites that are not set to the LTR locale, as they use mixed content often.

@ohlauren
Copy link

Yet another request for this feature. I manage the website for a public utility in a major city with a diverse population and we need to have certain content available in a variety of languages, often on the same page. I can make the front end display correctly with css, but editing the RTL sections is an absolute nightmare.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Feature] Blocks Overall functionality of blocks Internationalization (i18n) Issues or PRs related to internationalization efforts Needs Dev Ready for, and needs developer efforts [Type] Enhancement A suggestion for improvement.
Projects
None yet
Development

No branches or pull requests

9 participants