If you want to add "RTL" text as "auto" (text direction is based on text characters used):
File: WikiEditor/modules/jquery.wikiEditor.js
line: 458
Add: .attr( 'dir', "auto" )
This will only fix it for adding the text. You will still need to use a "div" in order to actually display the text as RTL.