WordPress.org

Make WordPress Core

Opened 16 years ago

Closed 16 years ago

#1967 closed defect (bug) (fixed)

TinyMCE directionality(LTR/RTL) plugin implementation

Reported by: mani_monaj Owned by:
Milestone: Priority: high
Severity: normal Version: 1.6
Component: Administration Keywords: tinymce direction, rtl, ltr, tinymce plugins, directionality bg|has-patch
Focuses: 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 (1)

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

Download all attachments as: .zip

Change History (3)

#1 @davidhouse
16 years ago

  • Keywords bg|has-patch added

#2 @ryan
16 years ago

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

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

Note: See TracTickets for help on using tickets.