Whether I set enterMode = CKEDITOR.ENTER_P or CKEDITOR.ENTER_DIV, I am always getting dir="inherit" property added to paragraph tags. For example:
<div dir="inherit">my text</div>
or
<p dir="inherit">my text</p>
Why is this happening is there any way of preventing it? Seems rather unnecessary.
I've never seen dir=inherit
I've never seen dir=inherit in the code. CKEditor does not do that by default and it would require special effort to make it so, so you would rather know about that. Can you reproduce it on http://ckeditor.com/demo? I know that sometimes browser's extension or even antiviruses affect the HTML, so you can check that.
Piotrek (Reinmar) Koszuliński
CKEditor JavaScript Developer
--
CKSource - http://cksource.com
--
Follow CKEditor on: Twitter | Facebook | Google+