Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Ismail Mayat 4511 posts 10092 karma points MVP 2x admin c-trib
    Apr 20, 2011 @ 15:48
    Ismail Mayat
    1

    how to get rtl with tinymce

    do you need to do anything specfic to get tinymce to do right to left languages like arabic / hebrew?

    Regards

    Ismail

  • Eran Meir 401 posts 543 karma points
    Apr 20, 2011 @ 15:59
    Eran Meir
    4

    go to config file tinyMceConfig.config add this to the plugins

        <plugin loadOnFrontend="false">directionality</plugin>
    2nd: and this the custom config 
        <config key="directionality">rtl</config>

    special bonus: 

    add this to you commands

    <command>
          <umbracoAlias>ltr</umbracoAlias>
          <icon>images/editor/ltr.gif</icon>
          <tinyMceCommand value="" userInterface="false" frontendCommand="ltr">ltr</tinyMceCommand>
          <priority>76</priority>
        </command>
        <command>
          <umbracoAlias>rtl</umbracoAlias>
          <icon>images/editor/rtl.gif</icon>
          <tinyMceCommand value="" userInterface="false" frontendCommand="rtl">rtl</tinyMceCommand>
          <priority>77</priority>
        </command>

    add this images to your umbraco\images\editor directory: 


    now you can align the text as you wish

  • Yannick Smits 321 posts 718 karma points
    Nov 22, 2011 @ 14:52
    Yannick Smits
    0

    How about adjusting this trick to allow for multi-language site with mixed rtl and ltr languages? with your setting it's either one.

Please Sign in or register to post replies

Write your reply to:

Draft