数码资讯
FCKeditor网页编辑器在几个点
选购提示
关注价格、性能、续航、售后和真实使用场景,理性比较后再下单。
1。一个连接事件,如onkeydown事件,应实施fckeditor_oncomplete:
复制代码代码如下所示:
功能fckeditor_oncomplete(editorinstance)
{
如果(文档)伊江
editorinstance.editordocument.attachevent(onkeypress
其他浏览器
EditorInstance.EditorDocument.addEventListener('onkeypress ',fckeditor_onkeyup,真的);
}
2,如果你打电话的sethtml FCKeditor功能后吊起来,然后挂断事件会失败,并使用oeditor.editordocument.body.innerhtml设置内容。
3、空值只能采取window.event.keycode,和FCKeditorAPI.GetInstance('fckeditor1)。EditorWindow.event.keyCode是用。
4、生成后回车,它是由fckconfig确定。entermode / fckconfig.shiftentermode在fckconfig.js文件或动态设置,但属性名称不fckconfig,但配置。
复制代码代码如下所示:
功能fckeditor_oncomplete(editorinstance)
{
如果(文档)伊江
editorinstance.editordocument.attachevent(onkeypress
其他浏览器
EditorInstance.EditorDocument.addEventListener('onkeypress ',fckeditor_onkeyup,真的);
}
2,如果你打电话的sethtml FCKeditor功能后吊起来,然后挂断事件会失败,并使用oeditor.editordocument.body.innerhtml设置内容。
3、空值只能采取window.event.keycode,和FCKeditorAPI.GetInstance('fckeditor1)。EditorWindow.event.keyCode是用。
4、生成后回车,它是由fckconfig确定。entermode / fckconfig.shiftentermode在fckconfig.js文件或动态设置,但属性名称不fckconfig,但配置。
声明:本文内容用于数码产品信息整理与选购参考,具体价格、库存、售后政策以官方渠道和电商页面实时信息为准。