[wp-trac] [WordPress Trac] #41016: RTL Support to TinyMCE in Widget Text Editor

WordPress Trac noreply at wordpress.org
Mon Jun 12 20:52:59 UTC 2017


#41016: RTL Support to TinyMCE in Widget Text Editor
--------------------------+-----------------------------
 Reporter:  guytzhak      |      Owner:
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  Widgets       |    Version:  4.8
 Severity:  normal        |   Keywords:
  Focuses:  rtl           |
--------------------------+-----------------------------
 Hi,
 When the site is RTL and I go to widget area and edit the text area
 editor, the new TinyMCE edior is LRT.

 I add this jQuery to admin to fix it:



 {{{
 jQuery( document ).on( 'tinymce-editor-setup', function( event, editor ) {

     editor.settings.directionality = 'rtl';

 });
 }}}

 Hope you find it's helpfull

--
Ticket URL: <https://core.trac.wordpress.org/ticket/41016>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list