Quick question; is it possible to change the background color of a TinyMCE control in WiseJ – I’ve tried all sorts of Javascript (using Eval()) to do it, but none has worked?
Hi Neil,
You can call this.tinyMCE1.Eval(“this.editor.getBody().style.backgroundColor = \”#FFFF66\”;”);
But make sure to attach it to the Appear event of the TinyMCE wrapper:
private void tinyMCE1_Appear(object sender, System.EventArgs e)
{
this.tinyMCE1.Eval(“this.editor.getBody().style.backgroundColor = \”#FFFF66\”;”);
}
Best,
Alaa
//
//
Please login first to submit.