HTML contenteditable set div to dir=auto

Job ID: 36702980

Budget: $10 – $30 USD

I am working on HTML page to add the div tags in the contenteditable when I input the texts and create new lines. I am getting no dir=auto in the contenteditable as I only get is text and <div><br></div>. It got removed by Chrome automatically. If you can help me to create the div dir=auto in the contenteditable each time I put the new texts and create the new lines, that would be great. Will pay $30 after the work is done. Thanks for your interest.
Related categories: JavaScript CSS HTML5 HTML jQuery / Prototype