Just call
var doc = <editor object>.editGetDocument();// set background colordoc.body.style.backgroundColor = "red";