Ticket #1967 (closed defect (bug): fixed)

Opened 6 years ago

Last modified 6 years ago

TinyMCE directionality(LTR/RTL) plugin implementation

Reported by: mani_monaj Owned by: anonymous
Priority: high Milestone:
Component: Administration Version: 1.6
Severity: normal Keywords: tinymce direction,rtl,ltr,tinymce plugins,directionality bg|has-patch
Cc:

Description

As so many languages in the world have right to left(RTL) directionality instead of LTR(Like persian, arabic, urdo, pashtu,...) , it's vital to implement tinyMCE directionality plugin into wordpress, As wordpress uses gzip compression for loading TinyMCE and because required plugins most be set before init,

<script language="javascript" type="text/javascript" 
src="../wp-includes/js/tinymce/tiny_mce_gzip.php?
index=0&theme=advanced
&plugins=wordpress,autosave,wphelp">
</script>

it's impossible to do this task with plugins (through mce_options action hook) so these changes most be made to wordpress admin-header.php in order to activate LTR/RTL buttons in TinyMCE.

important note: Directionality plugin folder (10.1KB) also needed in order to LTR/RTL implementation, Those files are included in standard tinyMCE release and most be copied to wp-includes\js\tinymce\plugins

more info about the plugin:  http://tinymce.moxiecode.com/tinymce/docs/plugin_directionality.html

Attachments

admin-header.php.diff Download (2.4 KB) - added by mani_monaj 6 years ago.

Change History

  • Keywords bg|has-patch added

comment:2   ryan6 years ago

  • Status changed from new to closed
  • Resolution set to fixed

(In [3244]) TinyMCE directionality for RTL support. Props skeltoac. fixes #1967

Note: See TracTickets for help on using tickets.