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

Fix text direction for URL and email fields in block editor for RTL languages #68188

Merged
merged 12 commits into from
Jan 8, 2025
Prev Previous commit
Next Next commit
fix: Remove ltr CSS for placeholder
im3dabasia committed Jan 7, 2025

Verified

This commit was signed with the committer’s verified signature.
commit 47fc49ea0b22c98f887d3e0bb5979a33c3624081
Original file line number Diff line number Diff line change
@@ -292,11 +292,6 @@ export const Input = styled.input< InputProps >`
&[type='url'] {
/* rtl:ignore */
direction: ltr;
&::-webkit-input-placeholder {
// For RTL languages, the value changes to "rtl".
direction: ltr !important;
}
}
}
`;