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" >
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?
//IE10
in fckeditor.js > method : FCKeditor_IsCompatibleBrowser
find this:
var sBrowserVersion = navigator.appVersion.match(/MSIE (.\..)/)[1] ;
and replace with:
var sBrowserVersion = navigator.appVersion.match(/MSIE ([\d.]+)/)[1] ;
in fckeditorcode_ie.js
find
e.scopeName!='HTML'
and change if condition to:
if(FCKBrowserInfo.IsIE&& e.scopeName && e.scopeName!='HTML')
find
D.parentElement().document!=B
and change if to:
if(D.parentElement().document && D.parentElement().document!=B)
find
B.open("GET",A,false);
and add this:
B.open("GET",A,false);
try {
B.responseType = "msxml-document";
} catch(e) {};
B.send(null);
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With