Easy.
Enter this into the (browser's javascript) console when you have the gmail compose window open:
document.getElementById(':ma').innerHTML
You can find this out for yourself by right-clicking the area and selecting Inspect Element. That shows you the html for the element. You just have to use the relevant javascript to manipulate it.