本文介绍了FCKEditor在IE10中不起作用的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

FCKEditor没有出现在IE10中.当我转到IE开发工具并将浏览器模式切换为IE9时,FCKEditor可以正常工作.但是,当我放置用于模拟IE9的元标记时:

FCKEditor doesn't appear in IE10. When I go to IE development tools and switch browser mode to IE9, FCKEditor works all right. But when I put meta tag for emulate IE9:

<meta http-equiv="X-UA-Compatible" content="IE=9" >

进入我的网页标题,对我没有帮助.如何使FCKEditor工作?还是有其他方法可以在IE10中模拟IE9?

into header of my web-page, it doesn't help me. How to make FCKEditor work? Or are there another ways for emulating IE9 within IE10?

推荐答案

尝试一下

Mozilla 17

在fckeditorcode_gecko.js中

in fckeditorcode_gecko.js

找到此>>

if (A.IsGecko){var B=s.match(/gecko\/(\d+)/)[1];A.IsGecko10=((B<20051111)||(/rv:1\.7/.test(s)));A.IsGecko19=/rv:1\.9/.test(s);}else A.IsGecko10=false;}

并替换为>>

if (A.IsGecko){var B=s.match(/gecko\/([0-9.]+)/)[1];if(B != "17.0"){A.IsGecko10=((B<20051111)||(/rv:1\.7/.test(s)));}A.IsGecko19=/rv:1\.9/.test(s);}else A.IsGecko19=true;}

在fckeditor.php中

in fckeditor.php

找到此>>

return ($iVersion >= 20030210);

并替换为>>

//return ($iVersion >= 20030210);

return true;

这篇关于FCKEditor在IE10中不起作用的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

06-10 21:34