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


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


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


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







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







3、設(shè)置編輯器中內(nèi)容






