1. 首页
  2. 行业
  3. 互联网
  4. JS操作Fckeditor的一些常用方法(获取、插入等)

JS操作Fckeditor的一些常用方法(获取、插入等)

上传者: 2020-11-21 22:36:48上传 PDF文件 88.1KB 热度 15次
javascript获取和设置FCKeditor内容 利用Javascript取和设FCKeditor值也是非常容易的,如下: // 获取编辑器中HTML内容 function getEditorHTMLContents(EditorName) { var oEditor = FCKeditorAPI.GetInstance(EditorName); return(oEditor.GetXHTML(true)); } // 获取编辑器中文字内容 function getEditorTextContents(EditorName) { var oEditor = FCKeditorAPI.Ge
下载地址
用户评论