2013年10月22日

js获取,设置FCKeditor内容

摘要: // 获取编辑器中HTML内容function getEditorHTMLContents(EditorName) { var oEditor = FCKeditorAPI.GetInstance(EditorName); return(oEditor.GetXHTML(true));}// 获取编辑器中文字内容function getEditorTextContents(EditorName) { var oEditor = FCKeditorAPI.GetInstance(EditorName); return(oEditor.EditorDocument.body.innerText); 阅读全文

posted @ 2013-10-22 10:42 bicabo 阅读(725) 评论(0) 推荐(0) 编辑

导航