用js调用fckeditor,在编辑时如何得到fck的内容

日期:2013-10-11 21:16:52 人气:2

用js调用fckeditor,在编辑时如何得到fck的内容

var oEditor = FCKeditorAPI.GetInstance(EditorName);? return(oEditor.GetXHTML(true));}// 获取编辑器中文字内容function getEditorTextContents(EditorName) {? var oEditor = FCKeditorAPI.GetInstance(EditorName);? return(oEditor.EditorDocument.body.innerText);}
    A+
热门评论