开发者

CKEditor RTL issue

I've added language:'ar', contentsLangDirection:'rtl', contentsLanguage:'ar' options to my CKEditor instance being initialized using the JQuery adapter. But the text is still left aligned.

It declares the <html> tag with dir='rtl' and lang开发者_如何学Python='ar', but on each <p> tag, it has an inline text-align: left style.

How do I get rid of that style?


try this :

        <script type="text/javascript">
            CKEDITOR.config.contentsLangDirection='rtl';
            CKEDITOR.replace('editorX');
        </script>
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜