日期:2014-05-19  浏览次数:20495 次

fckeditor.net中怎么用javascript操作
我想用javascript脚本向fckeditor里面插入一些东西

但是用javascript取不到它

查看了里面脚本也用   document.all加上编辑里的iframe名取不出来,提示未定义

------解决方案--------------------
var oEditor = FCKeditorAPI.GetInstance( 'FCKeditor1 ');//javascript 取得FCKeditor1

oEditor.InsertHtml( "这是用javascript插入的! ");
------解决方案--------------------
http://wiki.fckeditor.net/Developer 's_Guide/Javascript_API

这里fckeditor的api