获取编辑器中文字内容

  // 获取编辑器中文字内容
    function getEditorTextContents(EditorName) {
        var oEditor = FCKeditorAPI.GetInstance(EditorName);
        return (oEditor.EditorDocument.body.innerText);
    }

 

 

 var FCKeditor_profile = getEditorTextContents("FCKeditor_profile");

posted on 2010-11-05 13:37  tongdengquan  阅读(116)  评论(0编辑  收藏  举报