Ticket #1967 (closed defect: fixed)

Opened 3 years ago

Last modified 3 years ago

TinyMCE directionality(LTR/RTL) plugin implementation

Reported by: mani_monaj Assigned to: 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 (2.4 kB) - added by mani_monaj on 11/26/05 21:05:27.

Change History

11/26/05 21:05:27 changed by mani_monaj

  • attachment admin-header.php.diff added.

11/27/05 13:08:11 changed by davidhouse

  • keywords changed from tinymce direction,rtl,ltr,tinymce plugins,directionality to tinymce direction,rtl,ltr,tinymce plugins,directionality bg|has-patch.

11/30/05 17:15:56 changed by ryan

  • status changed from new to closed.
  • resolution set to fixed.

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