We're looking for a person or people to help audit MDN to find places we could speed up. Is this you or someone you know? Check out the RFP: https://mzl.la/2IHcMiE

Access Message in Compose Window Editor

To access the message content in the compose window:

let editor = gMsgCompose.editor;
editor.outputToString('text/plain', editor.eNone)

For the different output methods, see nsIEditor.

Document Tags and Contributors

 Contributors to this page: TT, Aryx
 Last updated by: TT,