用js调用fckeditor,在编辑时如何得到fck的内容
用js调用fckeditor,在编辑时如何得到fck的内容
日期:2021-12-27 08:28:54 人气:1
var oEditor = FCKeditorAPI.GetInstance(EditorName);? return(oEditor.GetXHTML(true));}// 获取编辑器中文字内容function getEditorTextContents(EditorName) {? var oEditor = FCKeditorAPI.GetInstance(EditorName);? return(oEditor.EditorDocument.body.innerText);}