Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

how to use tinymce with full rtl direction

I want to use the new (4.x) tinymce in full rtl.

Take a look here http://fiddle.tinymce.com/xwdaab/1

I set

directionality: "rtl",

But it's only effect the input area, I want that all the toolbars will align to the right side (rtl)

How can I do this?

In the old version the was the theme "advanced" and I used

theme_advanced_toolbar_align : "right",

Thanks

like image 979
Nir Avatar asked Oct 29 '25 14:10

Nir


1 Answers

I had the same problem. I removed "fullpage" from the plugins argument and now it works for me.

I changed this code:

plugins: [
                "advlist directionality autolink autosave link image lists charmap print preview hr anchor pagebreak",
                "searchreplace wordcount visualblocks visualchars code fullscreen insertdatetime media nonbreaking",
                "table contextmenu textcolor paste fullpage textcolor"
        ],

to this:

plugins: [
                "advlist directionality autolink autosave link image lists charmap print preview hr anchor pagebreak",
                "searchreplace wordcount visualblocks visualchars code fullscreen insertdatetime media nonbreaking",
                "table contextmenu textcolor paste textcolor"
        ], 
like image 56
Saman Avatar answered Oct 31 '25 10:10

Saman