//设置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();
}
设置fckeditor为只读
最新推荐文章于 2020-09-20 15:52:10 发布
本文介绍了一种通过JavaScript实现FCKeditor编辑器只读状态的方法。具体步骤包括禁用编辑器文档体、隐藏展开和折叠按钮并使编辑窗口失去焦点。
开发板推荐:天空星STM32F407VET6开发板
超高性价比 STM32主控 | 超高主频 | 一板兼容百芯 | 比赛神器 | 沉金彩色丝印
开发板推荐:天空星STM32F407VET6开发板
超高性价比 STM32主控 | 超高主频 | 一板兼容百芯 | 比赛神器 | 沉金彩色丝印
921





