WordPress.org

Make WordPress Core

Opened 6 years ago

Closed 6 years ago

#7462 closed defect (bug) (invalid)

No RTL support for TinyMCE styles

Reported by: RanYanivHartstein Owned by:
Milestone: Priority: normal
Severity: normal Version:
Component: I18N Keywords:
Focuses: Cc:

Description

Most style sheets loaded for the admin also load equivalent RTLing style sheets when and RTL locale is set. These complement the default style sheets with all the relevant rules needed to RTL them. However, TinyMCE's styles don't have RTL equivalents and can't be easily RTLed.

I suggest a mechanism to load RTLing equivalents for all TinyMCE's styles, so they can be easily RTLed by localization teams.

Change History (2)

comment:1 RanYanivHartstein6 years ago

Note - this situation is aggravated by use of inline styles in TinyMCE.

For e.g., in the Paste from Word popup frame, the button for "Insert" is styled inline to float to the right and the button for "Cancel" is styled inline to float to the left. This is correct and expected behavior for LTR scripts - the default button should be the right-most, or "last" button.

However, for readers of RTL scripts, the "last" button is the one on the left, and we therefore expect the default button to be the left.

comment:2 azaozz6 years ago

  • Milestone 2.7 deleted
  • Resolution set to invalid
  • Status changed from new to closed

TinyMCE doesn't use separate css files for RTL support. It applies the setting from the init. Passing this suggestion to the TinyMCE devs.

The question of where the default action button is has little to do with RTL. It's a long standing argument between Windows and Mac/Linux users. If you open IE and Safari (on Windows) side by side and make them display a dialog, the default button would be on different sides.

Closing as invalid for now. If/when TinyMCE implements separate css files for RTL, they will be included in WordPress too.

Note: See TracTickets for help on using tickets.