内容 |
当使用ie10时fckeditor编辑器不显示工具条,可以用以下三种方法解决: 第一种方法、浏览器设置兼容模式 打开ie,点击“工具”菜单,选择“兼容性视图设置”,勾选“在兼容性视图中显示所有网站”选项即可。 第二种方法、在使用编辑器的网页的: <meta http-equiv=content-type content=text/html; charset=gbk> 下面加 <meta http-equiv=x-ua-compatible content=ie=emulateie7 /> 第三种方法、修改编辑器本身js文件: 修改编辑器目录下的 /editor/js/fckeditorcode_ie.js 文件,查找 b.open(get,a,false); 在后面加上: try{b.responsetype='msxml-document';}catch(e){} 即为如下: b.open(get,a,false);try{b.responsetype='msxml-document';}catch(e){}b.send(null); (ps:帝国cms后台编辑器目录为 /e/admin/ecmseditor/infoeditor/、前台编辑器目录为 /e/data/ecmseditor/infoeditor/ ) 以上三种方法可依自己实际情况使用。 |