使用 fckeditor 在光标处插入一些图片,用到了
function InsertHTML(e)
{
var oEditor = FCKeditorAPI.GetInstance(e) ;
if ( oEditor.EditMode == FCK_EDITMODE_WYSIWYG )
{
oEditor.InsertHtml('<img style="width:200px;height:160px" alt="" src="/webMapApp/Files/image/1.jpg" />');
}
else
alert( '。。!' ) ;
}调试时提示FCKeditorAPI 未定义,请问怎么解决?
function InsertHTML(e)
{
var oEditor = FCKeditorAPI.GetInstance(e) ;
if ( oEditor.EditMode == FCK_EDITMODE_WYSIWYG )
{
oEditor.InsertHtml('<img style="width:200px;height:160px" alt="" src="/webMapApp/Files/image/1.jpg" />');
}
else
alert( '。。!' ) ;
}调试时提示FCKeditorAPI 未定义,请问怎么解决?
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货