Set text writing direction on section editor according to content language

Change-Id: Ic3ff015644ae184efd78654536414ecbed2ea3a5