I am also attempting to find some setting to switch between the source and the design modes. It is not for default purposes as you are speaking of per say, but it is the same idea of having the capability to manipulate the viewing mode on the GUI from behind.
function pushSourceButton() {
var oEditor = FCKeditorAPI.GetInstance('FCKeditor1'); // there is your fckeditor instance name
oEditor.Commands.GetCommand('Source').Execute();
}
Re: Open FCKeditor in source mode by default
I am also attempting to find some setting to switch between the source and the design modes. It is not for default purposes as you are speaking of per say, but it is the same idea of having the capability to manipulate the viewing mode on the GUI from behind.
Re: Open FCKeditor in source mode by default
Any help would be greatly appreciated.
Thanks,
Will
Re: Open FCKeditor in source mode by default
function pushSourceButton() { var oEditor = FCKeditorAPI.GetInstance('FCKeditor1'); // there is your fckeditor instance name oEditor.Commands.GetCommand('Source').Execute(); }<body onload="setTimeout('pushSourceButton()','500')">