How can I change the background color of the FCKeditor?
Can this be done by setting a property while initializing FCKeditor?
Or do I have to specify the default page backgorund color in the css stylesheet?
Will changing the backgroundcolor of the editor area also effect the style drop down box?
If not, how can I change the style select box background color?
thanks
Can this be done by setting a property while initializing FCKeditor?
Or do I have to specify the default page backgorund color in the css stylesheet?
Will changing the backgroundcolor of the editor area also effect the style drop down box?
If not, how can I change the style select box background color?
thanks
RE: changing background color
Changing background color works fine.
But I still can't figure out how to change the color of the css styles select box... Any help please?
RE: changing background color
RE: changing background color
function setBGCol(fldName,bgCol) {
var editor_frame = document.getElementById(fldName + "___Frame");
var editor_source = editor_frame.contentWindow.document.getElementById("eEditorArea");
editor_source.contentWindow.document.body.style.backgroundColor = bgCol;
}
You could use this function for pretty much any property of the editor window by replacing "style.backgroundColor" with whatever property you want to change.
RE: changing background color
RE: changing background color
RE: changing background color