editmode 相关的软件列表

首页

向fckeditor编辑器插入指定代码的方法

2020-02-16 标签:fckeditor,编辑器,插入,指定,代码,方法,function,obj,var,oeditor,getinstance,content,editmode,fck,wysiwyg,inserthtml,else,return

function insertHTMLToEditor(obj) {var oEditor = FCKeditorAPI.GetInstance("content");if(oEditor.EditMode == FCK_EDITMODE_WYSIWYG){oEditor.InsertHtml(ob