Added a button to the HTML editor to switch the text direction in the editor from RTL to LTR: