I install Tinymce editor to my site. And now i need to set the default direction to RTL not LTR.You can see below--
tinymce.init({
selector: 'textarea#editor',
directionality :"rtl"
});
I want to set this

How can i do that ??
If you are going to use it for Arabic language Download the Arabic version
or use this code to set default direction rtl
tinymce.init({
selector: "textarea#editor",
plugins: "directionality",
directionality :"rtl",
toolbar: "ltr rtl"
});
and for the orientation of the toolbar options try to contact TinyMCE.
I hope this may help you.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With