1、獲取編輯器中HTML內容
function getEditorHTMLContents(EditorName)


{
var oEditor = FCKeditorAPI.GetInstance(EditorName);
return(oEditor.GetXHTML(true));
}
2、獲取編輯器中文字內容(在博客發布時獲取無html代碼摘要使用)
function getEditorTextContents(EditorName)


{
var oEditor = FCKeditorAPI.GetInstance(EditorName);
return(oEditor.EditorDocument.body.innerText);
}
3、設置編輯器中內容
function SetEditorContents(EditorName, ContentStr)


{
var oEditor = FCKeditorAPI.GetInstance(EditorName) ;
oEditor.SetHTML(ContentStr) ;
}







2、獲取編輯器中文字內容(在博客發布時獲取無html代碼摘要使用)







3、設置編輯器中內容






