function init() { var oFCKeditor = new FCKeditor('note') ; oFCKeditor.BasePath = "/common/FCKeditor/" ; oFCKeditor.ToolbarSet = "Simple" ; oFCKeditor.Height = '400'; oFCKeditor.ReplaceTextarea() ; }
function FCKeditor_OnComplete( editorInstance ) { var oFCKeditor = FCKeditorAPI.GetInstance('note'); oFCKeditor.Commands.GetCommand('Source').Execute();
RE: Startup editor in source mode
RE: Startup editor in source mode
function init() {
var oFCKeditor = new FCKeditor('note') ;
oFCKeditor.BasePath = "/common/FCKeditor/" ;
oFCKeditor.ToolbarSet = "Simple" ;
oFCKeditor.Height = '400';
oFCKeditor.ReplaceTextarea() ;
}
function FCKeditor_OnComplete( editorInstance )
{
var oFCKeditor = FCKeditorAPI.GetInstance('note');
oFCKeditor.Commands.GetCommand('Source').Execute();
}
RE: Startup editor in source mode