This topic is locked

rich text editor, default eding in dir=rtl

10/25/2004 7:45:02 AM
ASPRunnerPro General questions
E
ekopelowitz author

Hi Sergei, I'd like to be change the code for the Rich Text Editor to enable the default writing mode to run in a right to left direction, rather than the standard left to right. This is accomplished manaully by adding the dir=rtl code, I'd like this to occur automatically. Ezra

Sergey Kornilov admin 10/25/2004

Ezra,
you can create a new template in ASPRunner Pro and change include/richtext.js for this purpose. See my changes in bold.

frameHtml += "</head>\n";

frameHtml += "<body dir=rtl>\n";

frameHtml += html + "\n";

frameHtml += "</body>\n";

frameHtml += "</html>";