Home > Article > Web Front-end > How to insert specified code into the fckeditor editor_javascript skills
function insertHTMLToEditor(obj)
{
var oEditor = FCKeditorAPI.GetInstance("content");
if(oEditor.EditMode == FCK_EDITMODE_WYSIWYG)
{
oEditor.InsertHtml(obj)
}
else
{
return false;
}
}