[wp-trac] [WordPress Trac] #27773: RTL for TinyMCE buttons
WordPress Trac
noreply at wordpress.org
Sat Apr 12 23:04:38 UTC 2014
#27773: RTL for TinyMCE buttons
-----------------------------------------+-----------------------
Reporter: azaozz | Owner: azaozz
Type: defect (bug) | Status: assigned
Priority: high | Milestone: 3.9
Component: TinyMCE | Version: trunk
Severity: normal | Resolution:
Keywords: has-patch commit needs-docs | Focuses: rtl
-----------------------------------------+-----------------------
Comment (by azaozz):
Replying to [comment:2 nacin]:
Yeah, as @ocean90 points out, this is the old setting for the toolbar
buttons, the new one is 'toolbar1'. Our filters for adding buttons haven't
changed, but _mce_set_direction() works on the whole init array after we
have added the buttons as a string.
We probably can merge _mce_set_direction() in WP_Editors. Currently it is
run by a default filter. If a plugin wants to change any of the RTL
settings, it still has to hook in `'tiny_mce_before_init'` and now also in
`'wp_mce_translation'`.
The `theme_advanced_styles` used in `form_utils.js` is for back-compat.
The whole `/tinymce/utils/` directory is part of the compat3x plugin.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/27773#comment:7>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list