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

Custom HTML Block should display content in LTR layout for all languages #61324

Open
Amir-A-M opened this issue May 2, 2024 · 3 comments
Open
Labels
[Block] HTML Affects the the HTML Block Good First Issue An issue that's suitable for someone looking to contribute for the first time [Type] Bug An existing feature does not function as intended

Comments

@Amir-A-M
Copy link

Amir-A-M commented May 2, 2024

Description

Hi, Thanks for this plugin.

Pls try to read the numbers one to nine in the picture below. (Remember that I wrote them in order)

image
This is a real mess. Isn't it?
Now imagine how can I read and edit a simple HTML!

Just give the textarea direction: ltr; to fixe it

image

Step-by-step reproduction instructions

Just drag a Custom HTML Block or try to edit a block in HTML

Screenshots, screen recording, code snippet

No response

Environment info

No response

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

Yes

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

No

@Amir-A-M Amir-A-M added the [Type] Bug An existing feature does not function as intended label May 2, 2024
@t-hamano t-hamano added the [Block] HTML Affects the the HTML Block label May 2, 2024
@t-hamano
Copy link
Contributor

t-hamano commented May 2, 2024

Thanks for the report.

Looking at the tickets and PRs below, it seems that the LTR layout is suitable for fields and text areas where codes are entered.

I don't understand RTL languages, but do you think it makes sense to have the title area in LTR layout as well?

@Amir-A-M
Copy link
Author

Amir-A-M commented May 2, 2024

Yes that right. LTR layout is suitable for codes

I don't understand RTL languages, but do you think it makes sense to have the title area in LTR layout as well?

I'm not quite sure what the 'title area' refers to. Could you please provide a picture that showcases it? That would help me understand better. I'll be happy if I can help.

@t-hamano
Copy link
Contributor

t-hamano commented May 2, 2024

I'm not quite sure what the 'title area' refers to.

Ah, somehow I seem to have mentioned a code editor title that is completely unrelated to this issue. Please ignore this question of mine 😅

code-editor-title

@t-hamano t-hamano added the Good First Issue An issue that's suitable for someone looking to contribute for the first time label May 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Block] HTML Affects the the HTML Block Good First Issue An issue that's suitable for someone looking to contribute for the first time [Type] Bug An existing feature does not function as intended
Projects
None yet
Development

No branches or pull requests

2 participants