I have edited config.js to
CKEDITOR.editorConfig = function( config )
{
// Define changes to default configuration here. For example:
config.language = 'ar';
config.contentsLangDirection = 'rtl';
contentsLanguage:'ar';
config.dialog_buttonsOrder = 'rtl';
};
But I still get the editor to be left-to-right in my Question2Answer platform. What should I do else to make my editor right-to-left?
Thanks in advance.

What CKEditor vesion are you
What CKEditor vesion are you using? Did you add the arabic language via Builder?
Customer and Community Manager, CKSource
Follow us on: Facebook, Twitter, LinkedIn
If you think you found a bug in CKEditor, read this!
I found the problem.
I found the problem. Apparently the configuration file doesn't get automatically included in the editor, so I had to add the configuration explicitly in a script inside the HTML file, and then it worked.