亚洲免费乱码视频,日韩 欧美 国产 动漫 一区,97在线观看免费视频播国产,中文字幕亚洲图片

      1. <legend id="ppnor"></legend>

      2. 
        
        <sup id="ppnor"><input id="ppnor"></input></sup>
        <s id="ppnor"></s>

        js獲取和設(shè)置FCK編輯器的內(nèi)容

        字號:


            // 獲取編輯器中HTML內(nèi)容
            function getEditorHTMLContents(EditorName) {
            var oEditor = FCKeditorAPI.GetInstance(EditorName);
            return(oEditor.GetXHTML(true));
            }
            // 獲取編輯器中文字內(nèi)容
            function getEditorTextContents(EditorName) {
            var oEditor = FCKeditorAPI.GetInstance(EditorName);
            return(oEditor.EditorDocument.body.innerText);
            }
            // 設(shè)置編輯器中內(nèi)容
            function SetEditorContents(EditorName, ContentStr) {
            var oEditor = FCKeditorAPI.GetInstance(EditorName) ;
            oEditor.SetHTML(ContentStr) ;
            }