Sometimes, when replying to a message, and possibly switching between the body and the subject (or not) or the addresses area (or not) - it is impossible to change the (text) message direction using the mail-toolbar icons. The message you get is:
An error occurred executing the cmd_ltr_document command: TypeError: messageEditor.contentDocument is null globalOverlay.js:102:13
and the icon state remains the same. Using "Switch Message Direction" in the context menu gives us:
An error occurred executing the cmd_switch_document command: TypeError: BiDiMailUI.getMessageEditor(...).contentDocument is null globalOverlay.js:102:13
Using the Developer Console, it seems the editor element's contentDocument is not null, however.
Sometimes, when replying to a message, and possibly switching between the body and the subject (or not) or the addresses area (or not) - it is impossible to change the (text) message direction using the mail-toolbar icons. The message you get is:
and the icon state remains the same. Using "Switch Message Direction" in the context menu gives us:
Using the Developer Console, it seems the editor element's contentDocument is not null, however.
The editor element outer XML is: