Okay, interesting. I assumed you were using a different template because a) we haven't changed anything regarding RTL except what will affect 3rd party plugins and templates and b) one of your screenshots shows a blue border around the textarea/editing window.
Regarding your last screenshot ("all codes are left to right"), the text is not marked up as code. If you mark it up as such, i.e. using code tags around it (see https://www.dokuwiki.org/wiki:syntax#code_blocks
), then it will show as LTR and not RTL.
I happen to care a lot about making DokuWiki work correctly for RTL languages. One big problem is that we don't have any RTL developers or testers or users who we can ask certain questions.
I checked again and found that I actually *can* reproduce your screenshot of the editing window. The WRAP syntax (and I guess any other similar syntax, including some of DokuWiki's core syntax) behaves weirdly whenever it wraps around the next line, but is fine if all is in one line. Then I pasted my test text into the sandbox of fa.wikipedia.org and saw it was behaving the same as well, so we cannot look to Wikipedia to find a solution.
But I found that one way to prevent this is to simply add a new line after the wrap syntax start and before the end.
Also, you were saying it worked correctly 20 days ago. Does that mean it worked with Binky RC1 and doesn't anymore with Binky RC2?
I just checked the textarea in an older DokuWiki version and the behaviour was exactly the same...
It would help if you could attach your text (preferably in a txt file) to this bug report, so we can be sure we see the very same thing and can compare with your screenshots. And what browser are you using?