设置fckeditor为只读

来源:互联网 发布:网络舆情处置工作方案 编辑:程序博客网 时间:2024/05/22 15:59

//设置fckeditor为只读
function FCKeditor_OnComplete(editorInstance)
    {
        editorInstance.EditorDocument.body.disabled = true;
        editorInstance.EditorWindow.parent.document.getElementById          ('xExpanded').style.display = 'none';
        editorInstance.EditorWindow.parent.document.getElementById('xCollapsed').style.display = 'none';
        editorInstance.EditorWindow.blur();
    }

原创粉丝点击