I'm trying to change direction from javascript function :
var editor = document.getElementById('Editor1');
editor.focus();
editor.style.direction = "rtl";
document.execCommand('JustifyRight',false,null); document.execCommand('InlineDirRTL',false,null);
It change the toolbar only, but in textarea direction remain 'ltr'