ckeditor bidi force use direction rtl or ltr -


i'm using ckeditor 4 , allow customers use rtl or ltr directions - since i'm going send output email message want have direction attribute used.

for reason, if i'm using hebrew or arabic version of ckeditor - omit rtl instead of writing it. there way force ckeditor write direction?

i tried settings:

config.language = 'he';           config.contentslangdirection = 'ltr'; 

i've looked in ckeditor documentation found nothing forcing direction tag.

onkeypress textarea please call function

function checkarabic( character ) {     var arabic = /[\u0600-\u06ff]/;     return arabic.test(character); } 

then if true set dir='rtl' html iframe.


Comments

Popular posts from this blog

c# - How to get the current UAC mode -

postgresql - Lazarus + Postgres: incomplete startup packet -

javascript - Ajax jqXHR.status==0 fix error -