Welcome to the Question2Answer Q&A. There's also a demo if you just want to try it out.
+3 votes
850 views
in Q2A Core by
edited by
Hello all,

Thanks in advance for reading.

How can I make the editor to be aligned RTL - Rigt To Left on default? - I use the editor: CKEditor

Meaning that, when a user ask or answer a question, the editor will put the marker on the right side, and the writing will be from Right To Left and not for Left To Right.

I know I can press Ctrl+Shift, so the writing will be RTL, but how can I make it default?

Thank you!!
Q2A version: 1.6.3

2 Answers

0 votes
by

You did not specify what editor you are using.

In case you are using the sceditor plugin you can activate the option in the admin panel under plugins to RTL:

sceditor q2a

 

by
Hey, thanks! I'm using: CKEditor
0 votes
by

Are you using my CKEditor4 plugin?

1) Add one line to "Other configration" in plugin option.

Example:

...
entities:false,
contentsLangDirection:'rtl'
2) Tune qa-pugin/ckeditor4/skins/xxxxx/editor.css
In the case of theme for exclusive use of RTL, this may be unnecessary.

.cke_toolbar {
float:right;
}

a.cke_button {
float:right;
}

Issue (?):

Cursor position is wrong in my environment.

https://www.google.co.jp/webhp?sourceid=chrome-instant&ion=1&espv=2&ie=UTF-8#q=ckeditor%20RTL%20cursor

by
Thanks for your answer,
I'm using the Q2A plugin: "WYSIWYG Editor v1.1.1".

Tried what you suggested, the problem stills happens. After I submit the answer or question, it looks fine it auto arranged to RTL, but in the editor the cursor is on the left side.

Looked into your link, but didn't provide any other solution, just people that reported on this bug.

Maybe the editor isn't updated? what version of CKEditor does Q2A provide?
And if it's not updated, how can I update it manually?

thanks again!
...