[wp-trac] [WordPress Trac] #13070: Add RTL/LTR button to html editor

WordPress Trac wp-trac at lists.automattic.com
Fri Feb 3 20:48:19 UTC 2012


#13070: Add RTL/LTR button to html editor
---------------------------+-----------------------------
 Reporter:  yoavf          |       Owner:  yoavf
     Type:  enhancement    |      Status:  assigned
 Priority:  normal         |   Milestone:  Future Release
Component:  Editor         |     Version:
 Severity:  normal         |  Resolution:
 Keywords:  has-patch rtl  |
---------------------------+-----------------------------
Changes (by yoavf):

 * owner:   => yoavf
 * status:  new => assigned


Comment:

 Replying to [comment:4 azaozz]:

 > Wouldn't it be better to use the `dir="..."` attribute on the textarea
 to change directions
 > Also the current patch works but only because of the back-compat in
 Quicktags. The "new" method of adding buttons is described
 [http://core.trac.wordpress.org/browser/trunk/wp-
 includes/js/quicktags.dev.js#L273 here]. Thinking if we are doing this, it
 should be included in wp_editor() and added automatically when the text
 direction is RTL, similar to the "directionality" plugin for TinyMCE.

 Absolutely - this patch is 22months old, but I'll be happy to work on a
 refresh.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/13070#comment:5>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list