How to Add rtl plugin in Tinymce bar in C 5.7

Permalink 1 user found helpful
I want to add this core plugin:
https://www.tinymce.com/docs/plugins/directionality/...
(This code add 2 buttons for RTL and LTR to the bar)

1) Where to put this code in the core System?

2) How to set the RTL as the default option? (i dont want to add markup)

siton
 
MrKDilkington replied on at Permalink Reply
MrKDilkington
Hi siton,

concrete5 5.7 uses Redactor, not TinyMCE.

The plugin will not be compatible.
siton replied on at Permalink Reply
siton
Ok. So how to do this in redactor?

https://imperavi.com/redactor/docs/settings/lang/...

What i need to do?
Steevb replied on at Permalink Best Answer Reply
Steevb
Look for: 'concrete/js/build/vendor/redactor/redactor.js'

Then on line 107 change direction to 'rtl' and see if that works.
siton replied on at Permalink Reply
siton
MrKDilkington and Steevb :) Thanks a lot - i change the code in the JS now its work Perfectly :)

I thinks that in the future this 2 options (RTL - LTR) needs to be build in - in the core of C5 - because its help for the RTL support of C5