利用按钮清空在FCK编辑器中输入的内容

来源:互联网 发布:加工中心编程代码大全 编辑:程序博客网 时间:2024/05/02 04:25

function SetContents()
{
       // Get the editor instance that we want to interact with.
       var oEditor = FCKeditorAPI.GetInstance('FCKeditor1') ;

       // Set the editor contents (replace the actual one).
       oEditor.SetHTML('') ;
}

原创粉丝点击