Editor styles flip alignright and alignleft positioning #10665
Labels
CSS Styling
Related to editor and front end styles, CSS-specific issues.
Good First Issue
An issue that's suitable for someone looking to contribute for the first time
Internationalization (i18n)
Issues or PRs related to internationalization efforts
Needs Dev
Ready for, and needs developer efforts
[Type] Bug
An existing feature does not function as intended
Milestone
Describe the bug
When using an RTL language (or an RTL testing plugin), the
.alignleft
class aligns right, and the.alignright
class aligns left in the edit-blocks-rtl.css enqueued from Gutenberg.To Reproduce
Steps to reproduce the behavior:
alignleft
class.Expected behavior
The quote will stay left-aligned, to match the class name -- it shouldn't change when the language direction does.
Actual behavior
Both
.alignleft
and.alignright
switch float directions - I'm guessing this is coming from automatically generated RTL styles.Screenshots
Here's a quote block with the
alignleft
class, and the styles coming from edit-blocks-rtl.css that are aligning it right:The theme in the above screenshot is Twenty Sixteen; I was also able to recreate this with the Gutenberg starter theme.
The text was updated successfully, but these errors were encountered: